How to Install gzip-size NPM Packages on Ubuntu / Debian

How to Install gzip-size software package in NPM Packages

gzip-size : Get the gzipped size of a string or buffer. You can installing gzip-size 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 gzip-size
$ sudo npm install -g gzip-size

If want to update the gzip-size package execute the command as below,

$ sudo npm update gzip-size

Update package globally,

$ npm install -g gzip-size

Git clone:

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

gzip-size@4.1.0 /usr/lib/node_modules/gzip-size

How to remove gzip-size package :

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

$ sudo npm uninstall gzip-size

Basic Information of gzip-size NPM Package:

Package Name gzip-size
Version 4.1.0
Description Get the gzipped size of a string or buffer
Released Date 2017-11-22T14:33:45.523Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/gzip-size/tutorial