npm-notifier

npm updater and notifier

Usage no npm install needed!

<script type="module">
  import npmNotifier from 'https://cdn.skypack.dev/npm-notifier';
</script>

README

npm-notifier

NPM version Downloads Dependency Status

Installation

$ npm i -g npm-notifier

What is npm-notifier

This is a package that alerts you when there is a new npm version online. It allows you also to install npm latest version.

How to use it

You have to write this on you CLI:

$ nn

Example

$ nn
  ---------------------
 |   New version!!!!   |
 |                     |
 |  v5.6.0 --> v5.7.1  |
  ---------------------
 ? Would you like to update your npm? [Y/N]  Y
 /home/pc/.nvm/versions/node/v9.7.0/bin/npm -> /home/pc/.nvm/versions/node/v9.7.0/lib/node_modules/npm/bin/npm-cli.js
 /home/pc/.nvm/versions/node/v9.7.0/bin/npx -> /home/pc/.nvm/versions/node/v9.7.0/lib/node_modules/npm/bin/npx-cli.js
 + npm@5.7.1
 added 63 packages, removed 6 packages and updated 49 packages in 19.939s

If you have already the latest version:

$ nn
 Your npm version is the latest (v5.7.1)

Author

-Nicola Guerra

License

MIT