tromp
v0.10.1
Published
Asynchronous filesystem directory walk with events and accept/reject filtering. For use with minimatch or other filtering tools.
Downloads
22
Readme
Tromp is an asynchronous filesystem directory walking algorithm with events and accept/reject filtering. For use with minimatch
or other filtering tools.
Use
var tromp = require('tromp')
tromp('.')
.reject(/node_modules/)
.on('listed', function (node) {
console.log({
base: node.base(),
files: node.files(),
dirs: node.dirs()})
})