How to Install compression-webpack-plugin NPM Packages on Ubuntu / Debian

How to Install compression-webpack-plugin software package in NPM Packages

compression-webpack-plugin : Prepare compressed versions of assets to serve them with Content-Encoding. You can installing compression-webpack-plugin 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 compression-webpack-plugin
$ sudo npm install -g compression-webpack-plugin

If want to update the compression-webpack-plugin package execute the command as below,

$ sudo npm update compression-webpack-plugin

Update package globally,

$ npm install -g compression-webpack-plugin

Git clone:

$ sudo  git clone https://github.com/rektide/compression-webpack-plugin.git
$ sudo  npm install -g ./compression-webpack-plugin

compression-webpack-plugin@1.0.1 /usr/lib/node_modules/compression-webpack-plugin

How to remove compression-webpack-plugin package :

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

$ sudo npm uninstall compression-webpack-plugin

Basic Information of compression-webpack-plugin NPM Package:

Package Name compression-webpack-plugin
Version 1.0.1
Description Prepare compressed versions of assets to serve them with Content-Encoding
Released Date 2017-09-29T19:20:07.111Z
Published by d3viant0ne
How to Learn https://www.npmjs.com/package/compression-webpack-plugin/tutorial