I
I
Ivan Korsakov2017-02-13 22:31:35
JavaScript
Ivan Korsakov, 2017-02-13 22:31:35

How are files sorted?

Essence of the question: you need to go into the directory and search inside it for all files (in my case, there is only one such file) with one .js extension and so bypass all n directories. How can this be implemented inside phantomjs scripts?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Doniy, 2017-02-13
@doniys_a

fs.list, fs.readdirSync ?
stackoverflow.com/questions/25460574/find-files-by...
phantomjs.org/api/fs/method/list.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question