npmupdater
v0.0.14 npm github
npmupdater
This is the core module used by the npmupdater cli.
install
Do it the normal way way:
npm install npmupdater
using
This module uses the credentials of the npm user logged in on the command line.
Use it like this:
var updater = require('npmupdater')
updater('my-module-name', function(err, result) {
// handle err and result
})
The result
is an object with the property push
that is either true
(if the
module was pushed to npm) or false
(if it's not been pushed), and the property
version
, which is the version on npm or github, whichever is greater.