config-file
Find and load a YAML or JSON config file from a local project, installed npm module, or the user's home directory.
Installation
npm:
npm i config-file --save
bower:
bower install config-file --save
Usage
var config = ;
config.load
config; // assumes JSONconfig;
config.npmLoad
config; // npm module nameconfig; // default is package.json, can be anythingconfig;
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors. Released under the MIT license