How to Install hat NPM Packages on Ubuntu / Debian

How to Install hat software package in NPM Packages

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

Git clone:

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

hat@0.0.3 /usr/lib/node_modules/hat

How to remove hat package :

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

$ sudo npm uninstall hat

Basic Information of hat NPM Package:

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