npmupdatecheck
v0.0.3
Published
Perfect little package for any developers that wish to have their end-users kept up-to-date with new releases.
Downloads
5
Maintainers
Readme
Example Usage
The script below will check **THIS** exact NPM repository for it's release version, I will be improving this at a later date when I can find the time.
const NPM = require("npmupdatecheck");
const Update = new NPM({
NPM_PACKAGE: "npmupdatecheck", //automatic defaults to ./package.json
AUTO_CHECK: true,
RUN_UPDATE_CHECK: true,
AUTO_CHECK_TIME: 30,
AUTO_INSTALL: true, // default is false, it allows the script to auto-update the NPM Package and close out.
});