JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q31440F
  • License SEE LICENSE IN REPOSITORY

Perfect little package for any github-repo based projects that wish to have their end-users kept up-to-date with new releases.

Package Exports

  • gh-check
  • gh-check/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gh-check) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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