{"library":"update-notifier-cjs","type":"library","category":null,"description":"update-notifier-cjs is a JavaScript library designed to provide non-intrusive update notifications for Command Line Interface (CLI) applications. Currently at version 5.1.7, it is specifically maintained for CommonJS (CJS) environments, providing a direct alternative to `update-notifier` for projects that do not use ES Modules. The library works by asynchronously checking for package updates against the npm registry in a detached child process, ensuring no impact on the CLI tool's startup performance. It persists the check results and displays notifications only after a configurable interval (defaulting to one day), preventing frequent interruptions to the user. This design choice aims to be user-friendly by avoiding immediate notifications on first run or every execution.","language":"javascript","status":"active","version":"5.1.7","tags":["javascript","npm","update","updater","notify","notifier","check","checker","cli"],"last_verified":"Wed May 27","install":[{"cmd":"npm install update-notifier-cjs","imports":["const updateNotifier = require('update-notifier-cjs');"]},{"cmd":"yarn add update-notifier-cjs","imports":[]},{"cmd":"pnpm add update-notifier-cjs","imports":[]}],"homepage":null,"github":"https://github.com/ryanblock/update-notifier-cjs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/update-notifier-cjs","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-cjs/compatibility"}}