Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qix-/node-find-higher-file

Traverses a path to find a file in a higher directory
https://github.com/qix-/node-find-higher-file

Last synced: 26 days ago
JSON representation

Traverses a path to find a file in a higher directory

Awesome Lists containing this project

README

        

# node-find-higher-file [![Travis-CI.org Build Status](https://img.shields.io/travis/Qix-/node-find-higher-file.svg?style=flat-square)](https://travis-ci.org/Qix-/node-find-higher-file) [![Coveralls.io Coverage Rating](https://img.shields.io/coveralls/Qix-/node-find-higher-file.svg?style=flat-square)](https://coveralls.io/r/Qix-/node-find-higher-file)
Traverses upward to find either the next file or the highest file.

## Example
```javascript
var findHigherFile = require('find-higher-file');

findHigherFile('Mistfile', {find: 'highest'}, function(err, file) {[
if (err) throw err;
console.log(file);
});
```

## License
Licensed under the MIT license