How to Install js-sha256 NPM Packages on Ubuntu / Debian

How to Install js-sha256 software package in NPM Packages

js-sha256 : A simple SHA-256 / SHA-224 hash function for JavaScript supports UTF-8 encoding.. You can installing js-sha256 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 js-sha256
$ sudo npm install -g js-sha256

If want to update the js-sha256 package execute the command as below,

$ sudo npm update js-sha256

Update package globally,

$ npm install -g js-sha256

Git clone:

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

js-sha256@0.8.0 /usr/lib/node_modules/js-sha256

How to remove js-sha256 package :

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

$ sudo npm uninstall js-sha256

Basic Information of js-sha256 NPM Package:

Package Name js-sha256
Version 0.8.0
Description A simple SHA-256 / SHA-224 hash function for JavaScript supports UTF-8 encoding.
Released Date 2017-11-19T08:45:39.208Z
Published by emn178
How to Learn https://www.npmjs.com/package/js-sha256/tutorial