How to Install mozjpeg NPM Packages on Ubuntu / Debian

How to Install mozjpeg software package in NPM Packages

mozjpeg : mozjpeg wrapper that makes it seamlessly available as a local dependency. You can installing mozjpeg 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 mozjpeg
$ sudo npm install -g mozjpeg

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

$ sudo npm update mozjpeg

Update package globally,

$ npm install -g mozjpeg

Git clone:

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

mozjpeg@4.1.1 /usr/lib/node_modules/mozjpeg

How to remove mozjpeg package :

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

$ sudo npm uninstall mozjpeg

Basic Information of mozjpeg NPM Package:

Package Name mozjpeg
Version 4.1.1
Description mozjpeg wrapper that makes it seamlessly available as a local dependency
Released Date 2015-12-13T13:32:42.843Z
Published by shinnn
How to Learn https://www.npmjs.com/package/mozjpeg/tutorial