N
N
Nikita Kudrin2020-11-03 14:32:03
Node.js
Nikita Kudrin, 2020-11-03 14:32:03

How can I find out the filenames of the fs folder?

There is a folder "logs"
Text files are created there.
How to get all files from this folder and display their name using fs?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-11-03
@HepkaPlay

fs.readdir (-sync)
https://stackoverflow.com/a/2727191

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question