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
$ sudo git clone https://github.com/rektide/shortid.git
$ sudo npm install -g ./shortid
shortid@2.2.8 /usr/lib/node_modules/shortid
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall shortid
| 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 |