@reciple/update-checker
TypeScript icon, indicating that this package has built-in type declarations

9.1.0 • Public • Published



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}`);

Readme

Keywords

Package Sidebar

Install

npm i @reciple/update-checker

Weekly Downloads

95

Version

9.1.0

License

GPL-3.0

Unpacked Size

46.2 kB

Total Files

13

Last publish

Collaborators

  • catplusplus