involve

0.1.1 • Public • Published

involve

Autoload modules in package.json and return an object

Install

npm install involve

Use

package.json

{
  "dependencies" : {
    "request" : "*"
  }
}
 
// index.js
var involve = require('involve');
 
var obj = involve(__dirname + '/package.json');
 
console.log(typeof obj.dependencies.request); // `function`
 

/involve/

    Package Sidebar

    Install

    npm i involve

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • tmpvar