List all files available in a directory and its descendants recursively. This demo relies on fs.readdir()
and fs.lstat()
for doing its job and is also likely to triggers ENOENT
error.
$ yarn global add async-dirtree-test
or:
$ npm install -g async-dirtree-test
To list all files in current directory recursively:
$ async-dirtree-test
To list all files in current directory recursively with no concurrent calls:
$ async-dirtree-test -n 1