1.0.3 • Published 4 years ago
@anzerr/fs.find v1.0.3
Intro
List all folder and files from a entrypoint
Install
npm install --save git+https://git@github.com/anzerr/fs.find.git
npm install --save @anzerr/fs.find
Example
const find = require('fs.find');
find('./', {
filter: (path) => true, // filter folder that should not be gone down
callback: (path, isDirectory) => {
console.log(path, isDirectory);
},
max: 2
}).then(() => {
console.log('done');
});
1.0.3
4 years ago