How to Install downsize NPM Packages on Ubuntu / Debian

How to Install downsize software package in NPM Packages

downsize : Tag-safe truncation for HTML and XML. Works by word!. You can installing downsize 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 downsize
$ sudo npm install -g downsize

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

$ sudo npm update downsize

Update package globally,

$ npm install -g downsize

Git clone:

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

downsize@0.0.8 /usr/lib/node_modules/downsize

How to remove downsize package :

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

$ sudo npm uninstall downsize

Basic Information of downsize NPM Package:

Package Name downsize
Version 0.0.8
Description Tag-safe truncation for HTML and XML. Works by word!
Released Date 2014-09-15T09:37:44.723Z
Published by cgiffard
How to Learn https://www.npmjs.com/package/downsize/tutorial