node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

nearest-file

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');