hat : generate random IDs and avoid collisions. You can installing hat 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 hat $ sudo npm install -g hat
If want to update the hat package execute the command as below,
$ sudo npm update hat
Update package globally,
$ npm install -g hat
$ sudo git clone https://github.com/rektide/hat.git
$ sudo npm install -g ./hat
hat@0.0.3 /usr/lib/node_modules/hat
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall hat
Package Name | hat |
Version | 0.0.3 |
Description | generate random IDs and avoid collisions |
Released Date | 2011-08-06T11:53:59.127Z |
Published by | npm |
How to Learn | https://www.npmjs.com/package/hat/tutorial |