npmupdater

v0.0.14
Update a module on npm if the Github version is greater.
npm github

npmupdater Build Status

logo thingy

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.

license

VOL

npm i npmupdater

Metadata

  • VOL
  • Whatever
  • saibotsivad
  • released 8/7/2016

Downloads