Read a directory recursively.
$ npm i @fibjs/fs-readdir-recursive --save
var read = require('@fibjs/fs-readdir-recursive')
read(__dirname) === [
'test/test.js',
'index.js',
'LICENSE',
'package.json',
'README.md'
]
Please open an issue here.