1.1.0 • Published 10 years ago
ape-installing v1.1.0
ape-installing
ape framework module for installing modules.
Installation
$ npm install ape-installing --save-devUsage
Install a Module Unless Installed globally.
var apeInstalling = require('ape-installing');
apeInstalling.unlessGlobal('mocha', function (err) {
/*..*/
});Options for unlessGlobal
| Key | Type | Default | Description |
|---|---|---|---|
| cwd | string | process.cwd() | Working directory path. |
| bin | string | name | Name of bin. |
| save | boolean | false | Save to package.json |
| saveDev | boolean | false | Save as dev to package.json |
| global | boolean | false | Save as global module. |
| exit | boolean | false | Exit process when done. |
License
This software is released under the MIT License.