@mgalacyber/package-notifier
v1.0.1
Published
Keep track of changes in your dependencies to ensure you are always using the latest and greatest.
Downloads
51
Maintainers
Readme
PACKAGE NOTIFIER
Package Notifier is a simple utility that notifies users in the terminal when a package has been updated to a new version. Stay informed about the latest changes in your dependencies effortlessly.
Features
- 🚀 Instantly receive notifications in the terminal about package updates.
- 📦 Keep track of changes in your dependencies to ensure you are always using the latest and greatest.
- 🔄 Easily integrate into your development workflow for seamless updates.
Installation
npm:
$ npm install @mgalacyber/package-notifier
yarn:
$ yarn add @mgalacyber/package-notifier
Simple to Use
CommonJs (CJS) syntax
const packageNotifier = require("@mgalacyber/package-notifier");
ECMAScript Modules (ESM) syntax
import packageNotifier from "@mgalacyber/package-notifier";
Example
const packageFile = require("./package.json");
packageNotifier(packageFile);
How It Works
Package Notifier compares the installed versions of your project's dependencies with the latest versions available on the npm registry. If updates are found, it provides clear and concise notifications in the terminal, making it easy for you to take action.