hashids : Generate YouTube-like ids from numbers. Use Hashids when you do not want to expose your database ids to the user.. You can installing hashids 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 hashids $ sudo npm install -g hashids
If want to update the hashids package execute the command as below,
$ sudo npm update hashids
Update package globally,
$ npm install -g hashids
$ sudo git clone https://github.com/rektide/hashids.git
$ sudo npm install -g ./hashids
hashids@1.1.4 /usr/lib/node_modules/hashids
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall hashids
Package Name | hashids |
Version | 1.1.4 |
Description | Generate YouTube-like ids from numbers. Use Hashids when you do not want to expose your database ids to the user. |
Released Date | 2017-11-05T00:18:10.052Z |
Published by | ivan |
How to Learn | https://www.npmjs.com/package/hashids/tutorial |