npm-install-modules
Install npm modules (dependencies and devDependencies) programmatically.
Still quite raw as an individual module. Needs more testing in the wild (production use) to flesh out use-case development. Comments/PR's welcomed.
Installation
$ npm install npm-install-modules
Usage
var installModules = var opts dependencies: "mout" "clockin" "colorz" devDependencies: "tape" "mocha"
results in package.json...
"dependencies": , "devDependencies": ,
Why?
Building a scaffolder. Extracted this module from npinit. Figured it would be useful as a stand-alone.