1.1.0 • Published 7 years ago
getfilesize v1.1.0
getfilesize
Get Human Readable file size information.
Installation
$ npm install getfilesize --save
Usuage
var getFileSize = require('getfilesize');
console.log(getFileSize('dummy.txt'));
/*=> 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