compression : Node.js compression middleware. You can installing compression 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 $ sudo npm install -g compression
If want to update the compression package execute the command as below,
$ sudo npm update compression
Update package globally,
$ npm install -g compression
$ sudo git clone https://github.com/rektide/compression.git
$ sudo npm install -g ./compression
compression@1.7.1 /usr/lib/node_modules/compression
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall compression
Package Name | compression |
Version | 1.7.1 |
Description | Node.js compression middleware |
Released Date | 2017-09-27T05:10:20.820Z |
Published by | dougwilson |
How to Learn | https://www.npmjs.com/package/compression/tutorial |