vercheck
v0.0.5
Published
⚙ A simple util for auto-check your package installed version and newest version when using, and notice your package user for version update and changelogs
Downloads
7
Maintainers
Readme
VersionChecker
⚙ A simple util to quickly setup auto update checker for your application
VersionChecker is a simple util for periodically comparing your user's local installed version and your latest published (latest) version, notice user with your changelogs. Fully configurable and low deps (only relies on semver
)!🍻
Usage
Install
# Using Yarn
yarn add vercheck
# Using NPM
npm install vercheck
Usage
API
const { checkUpdate } = require('vercheck')
async function main() {
await checkUpdate(path.join(__dirname, 'package.json'))
/** your other businessLogic */
}
CLI commands
You can run certain commands in cli via yarn ${command}
or npm run ${command}
, provide your changelog messages, the command will add your message to package changelog and then bump up current version.
vcpatch
vcminor
vcmajor
vcpre
vcpub
Configurations
module.exports = {
}