How to Install decimal.js NPM Packages on Ubuntu / Debian

How to Install decimal.js software package in NPM Packages

decimal.js : An arbitrary-precision Decimal type for JavaScript.. You can installing decimal.js 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 decimal.js
$ sudo npm install -g decimal.js

If want to update the decimal.js package execute the command as below,

$ sudo npm update decimal.js

Update package globally,

$ npm install -g decimal.js

Git clone:

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

decimal.js@7.3.0 /usr/lib/node_modules/decimal.js

How to remove decimal.js package :

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

$ sudo npm uninstall decimal.js

Basic Information of decimal.js NPM Package:

Package Name decimal.js
Version 7.3.0
Description An arbitrary-precision Decimal type for JavaScript.
Released Date 2017-09-26T17:24:39.022Z
Published by mikemcl
How to Learn https://www.npmjs.com/package/decimal.js/tutorial