A library designed to facilitate smarter update notifications and checking for Node.js projects.
Go to file
2019-09-05 17:40:41 +02:00
test fix(dependencies): update to latest versions 2018-09-02 12:00:52 +02:00
ts fix(core): update 2019-09-04 16:38:06 +02:00
.gitignore fix(core): update 2019-09-04 16:27:42 +02:00
.gitlab-ci.yml fix(core): update 2019-09-04 16:27:42 +02:00
npmextra.json fix(core): update 2019-09-04 16:27:42 +02:00
package-lock.json 1.0.25 2019-09-05 17:40:41 +02:00
package.json 1.0.25 2019-09-05 17:40:41 +02:00
readme.md fix(core): update 2019-09-04 16:27:42 +02:00
tslint.json fix(core): update 2019-09-04 16:27:42 +02:00

@pushrocks/smartupdate

update your tools in a smart way

Status for master

build status coverage report npm downloads per month Known Vulnerabilities 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

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