Package Exports
- find-file
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (find-file) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
find-file 
Search for a file in an array of paths
Install
$ npm install --save find-file
Usage
var Find = require('find-file');
var find = new Find()
.name('foo.jpg')
.where(['./images', './media']);
find.run(function (err, files) {
if (err) {
throw err;
}
console.log(files);
//=> [{ path: 'images/foo.jpg', name: 'foo.jpg', ...}]
});
License
MIT © Kevin Mårtensson