update-notifier is a Node.js package for informing command-line application users when a newer package version is available. It is designed to make update messages noticeable without delaying application startup or repeatedly interrupting users. Version checks run asynchronously in a separate unreferenced child process and are persisted for later runs. Developers can define how frequently checks occur and inspect information such as the installed version, latest version, package name, and update type. Notification messages and Boxen-based presentation options can be customized. Users can disable notifications through configuration, an environment variable, or a command-line flag. Checks are automatically skipped in environments such as continuous integration and unit tests.

Features

  • Non-intrusive CLI update notifications
  • Background npm version checking
  • Configurable update-check intervals
  • Major, minor, patch, and prerelease update detection
  • Custom messages and notification box styling
  • Configuration, environment, and CLI opt-out controls

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow update-notifier

update-notifier Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of update-notifier!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Command Line Tools

Registered

17 hours ago