How to Install shortid NPM Packages on Ubuntu / Debian

How to Install shortid software package in NPM Packages

shortid : Amazingly short non-sequential url-friendly unique id generator.. You can installing shortid npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install shortid
$ sudo npm install -g shortid

If want to update the shortid package execute the command as below,

$ sudo npm update shortid

Update package globally,

$ npm install -g shortid

Git clone:

$ sudo  git clone https://github.com/rektide/shortid.git
$ sudo  npm install -g ./shortid

shortid@2.2.8 /usr/lib/node_modules/shortid

How to remove shortid package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall shortid

Basic Information of shortid NPM Package:

Package Name shortid
Version 2.2.8
Description Amazingly short non-sequential url-friendly unique id generator.
Released Date 2017-03-05T21:55:31.716Z
Published by ai
How to Learn https://www.npmjs.com/package/shortid/tutorial