better-scanner
v2.0.0
Published
Fast way to scan a directory and get all of the inodes
Downloads
16
Readme
better-scanner
File directory scanner that returns inodes given a directory.
Getting Started
npm install --save better-scanner
Usage
var scanner = require('better-scanner');
scanner.scan('/path/to/scan', function (filePath, inode, isDir) {
// Will be called multiple times for every file in the path
}, function () {
// This will run when finished.
})
Contributions welcome!
Credits
This library was initially made by the awesome team of engineers at Diamond.
If you haven't already, make sure you install Diamond!