node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

smartupdate

smartupdate

update your tools in a smart way

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

smartupdate makes it really easy to notify your tool users about new versions:

import * as smartupdate from 'smartupdate';
 
// the following command will check npm for a version newer than the specified one.
// It will open the specified URL if a newer version is actually found.
await smartupdate
  .standardHandler
  .check('lodash', '1.0.5', 'http://gitzone.gitlab.io/npmts/changelog.html')

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer