Get Human Readable file size information.
$ npm install getfilesize --save
var getFileSize = require('getfilesize');
console.log(getFileSize('dummy.txt'));
/*=> 58.99 KB */
});
Returns string containing the size of the file if exits else returns "File Not Found"
MIT © Bharathvaj Ganesan