0.2.0 • Published 9 years ago
nearest-file v0.2.0
Find nearest file in path
var find = require('nearest-file');
// Get content of nearest .gitconfig in given path from end to root
var config = find(__dirname, '.gitconfig');
var find = require('nearest-file');
// Get content of nearest .gitconfig in given path from end to root
var config = find(__dirname, '.gitconfig');