sha1 : native js function for hashing messages with SHA-1. You can installing sha1 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 sha1 $ sudo npm install -g sha1
If want to update the sha1 package execute the command as below,
$ sudo npm update sha1
Update package globally,
$ npm install -g sha1
$ sudo git clone https://github.com/rektide/sha1.git
$ sudo npm install -g ./sha1
sha1@1.1.1 /usr/lib/node_modules/sha1
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall sha1
| Package Name | sha1 |
| Version | 1.1.1 |
| Description | native js function for hashing messages with SHA-1 |
| Released Date | 2015-05-26T21:33:33.044Z |
| Published by | pvorb |
| How to Learn | https://www.npmjs.com/package/sha1/tutorial |