@reciple/update-checker
v9.1.0
Published
Check updates from npm registry
Downloads
127
Readme
About
@reciple/update-checker
checks for an update for a given package name from npm registry
Usage
import { checkLatestUpdate } from '@reciple/update-checker';
const data = checkLatestUpdate('reciple', '0.0.0').catch(() => null);
if (data?.updateType) console.log(`An update is available! ${data.currentVersion} => ${data.updatedVersion}`);