gh-check
v0.1.3
Published
Perfect little package for any github-repo based projects that wish to have their end-users kept up-to-date with new releases.
Downloads
9
Maintainers
Readme
Example Usage
The script below will check THIS exact repository for it's release version, I will be improving this at a later date when I can find the time.
const Github = require("gh-check");
const Update = new Github({
GITHUB_USER: "2M4U",
PROJECT_NAME: "gh-check",
AUTO_CHECK: true,
RUN_UPDATE_CHECK: true,
AUTO_CHECK_TIME: 3600,
});
async function test() {
await Update.check();
}
test();
Full Changelog: https://github.com/2M4U/gh-check/commits/0.1.0