1.0.2 • Published 9 years ago

npm-save v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

npm-save

Build Status

A module that allows module npm install --save or --save-dev

Installation

> npm install --save npm-save

Usage

There are two options: to --save or to --save-dev. Either way, to depend on this module, require it by

var npm = require("npm-save");

Save

To save the modules, add

npm.save([kontains, xcept]).then(function(){
    /** save successful **/
}).catch(function(err){
    /** an error has occurred **/
});

Save Dev

To save the development modules, add

npm.saveDev([kontains, xcept]).then(function(){
    /** saveDev successful **/
}).catch(function(err){
    /** an error has occurred **/
});

Versions

1.0.0

  • First publish