getfilesize
Get Human Readable file size information.
Installation
$ npm install getfilesize --save
Usuage
var getFileSize = ;console; /*=> 58.99 KB */});
API
getFileSize([filePath])
Returns string containing the size of the file if exits else returns "File Not Found"
License
MIT © Bharathvaj Ganesan