Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npmupdater

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npmupdater

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

  • 0.0.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 07 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc