ubiquitous-file-walker
v0.1.1
Published
A function that can retrieve the contents of a given target path and all its subdirectories.
Downloads
5
Readme
Ubiquitous File Walker
A function that can retrieve the contents of a given target path and all its subdirectories.
Installation
npm install ubiquitous-file-walker --save
Usage
var jaunt = require('ubiquitous-file-walker');
jaunt('E:\\foo', function(err, data){
if(err == null){
console.log(JSON.stringify(data, null, 2));
} else {
console.log("Error: %j", err);
}
});
Tests
npm test
Contributing
Add unit tests for any new or changed functionality.
Release History
- 0.1.1 Handled file permission error
- 0.1.0 Initial release