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
$ 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
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall file-size
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 |