How to Install file-size NPM Packages on Ubuntu / Debian

How to Install file-size software package in NPM Packages

file-size : Lightweight filesize to human-readable / proportions w/o dependencies.. You can installing file-size 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 file-size
$ sudo npm install -g file-size

If want to update the file-size package execute the command as below,

$ sudo npm update file-size

Update package globally,

$ npm install -g file-size

Git clone:

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

file-size@1.0.0 /usr/lib/node_modules/file-size

How to remove file-size package :

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

$ sudo npm uninstall file-size

Basic Information of file-size NPM Package:

Package Name file-size
Version 1.0.0
Description Lightweight filesize to human-readable / proportions w/o dependencies.
Released Date 2015-04-05T06:50:21.829Z
Published by nijikokun
How to Learn https://www.npmjs.com/package/file-size/tutorial