{"library":"update-notifier","type":"library","category":null,"description":"update-notifier is a utility package designed to provide non-intrusive update notifications for command-line interface (CLI) applications. Its current stable version is 7.3.1. The package maintains an active release cadence, with several patch and minor updates between major versions, which typically occur every one to two years. A key differentiator is its asynchronous update check mechanism: it performs checks in an unref'ed child process in the background, minimizing impact on the CLI app's startup performance. It also defers initial notifications and subsequent checks based on a configurable `updateCheckInterval`, preventing annoyance and ensuring a smooth user experience. Since v7.0.0, it mandates Node.js 18 or higher, and v6.0.0 transitioned it to a pure ESM package, requiring modern JavaScript module handling. This design philosophy aims to keep CLI tools fresh for users without disrupting their workflow or the developer's application startup speed.","language":"javascript","status":"active","version":"7.3.1","tags":["javascript","npm","update","updater","notify","notifier","check","checker","cli"],"last_verified":"Wed May 27","install":[{"cmd":"npm install update-notifier","imports":["import updateNotifier from 'update-notifier';","import packageJson from './package.json' assert {type: 'json'};","notifier.notify();"]},{"cmd":"yarn add update-notifier","imports":[]},{"cmd":"pnpm add update-notifier","imports":[]}],"homepage":null,"github":"https://github.com/yeoman/update-notifier","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/update-notifier","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/update-notifier/compatibility"}}