npm-plugins-loader
v1.0.0
Published
npm plugins loader
Downloads
3
Readme
npm-plugins-loader
npm plugins loader
// require
var NpmPluginsLoader = require('./index.js');
// init
var pluginsLoader = new NpmPluginsLoader({
npmInstallCommand : 'cnpm install',
pluginsConfig : {
'lodash' : {
foo : 1,
bar : 2
}
}
});
// start load them with configs.
pluginsLoader.load();