Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/boo1ean/nearest-file

Find nearest file in path
https://github.com/boo1ean/nearest-file

Last synced: 30 days ago
JSON representation

Find nearest file in path

Awesome Lists containing this project

README

        

## Find nearest file in path

```javascript
var find = require('nearest-file');
// Get content of nearest .gitconfig in given path from end to root
var config = find(__dirname, '.gitconfig');
```