How to Install prettysize NPM Packages on Ubuntu / Debian

How to Install prettysize software package in NPM Packages

prettysize : Convert bytes to other sizes for prettier logging. You can installing prettysize 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 prettysize
$ sudo npm install -g prettysize

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

$ sudo npm update prettysize

Update package globally,

$ npm install -g prettysize

Git clone:

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

prettysize@1.1.0 /usr/lib/node_modules/prettysize

How to remove prettysize package :

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

$ sudo npm uninstall prettysize

Basic Information of prettysize NPM Package:

Package Name prettysize
Version 1.1.0
Description Convert bytes to other sizes for prettier logging
Released Date 2017-09-19T13:24:49.859Z
Published by davglass
How to Learn https://www.npmjs.com/package/prettysize/tutorial