How to Install zlib NPM Packages on Ubuntu / Debian

How to Install zlib software package in NPM Packages

zlib : Simple, synchronous deflate/inflate for buffers. You can installing zlib 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 zlib
$ sudo npm install -g zlib

If want to update the zlib package execute the command as below,

$ sudo npm update zlib

Update package globally,

$ npm install -g zlib

Git clone:

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

zlib@1.0.5 /usr/lib/node_modules/zlib

How to remove zlib package :

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

$ sudo npm uninstall zlib

Basic Information of zlib NPM Package:

Package Name zlib
Version 1.0.5
Description Simple, synchronous deflate/inflate for buffers
Released Date 2011-08-08T18:15:58.018Z
Published by npm
How to Learn https://www.npmjs.com/package/zlib/tutorial