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

How to Install stats.js software package in NPM Packages

stats.js : JavaScript Performance Monitor. You can installing stats.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 stats.js
$ sudo npm install -g stats.js

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

$ sudo npm update stats.js

Update package globally,

$ npm install -g stats.js

Git clone:

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

stats.js@0.17.0 /usr/lib/node_modules/stats.js

How to remove stats.js package :

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

$ sudo npm uninstall stats.js

Basic Information of stats.js NPM Package:

Package Name stats.js
Version 0.17.0
Description JavaScript Performance Monitor
Released Date 2016-10-29T01:18:40.513Z
Published by mrdoob
How to Learn https://www.npmjs.com/package/stats.js/tutorial