avoidwork/filesize.js

Convert Backward from Human Readable to Bytes

vasyl-shumskyi opened this issue · 1 comments

Thanks for amazing work!

One thing this module misses is backward converting from human readable format to bytes. Like so

filesize('1KB')
// => 1024

Going to close this issue 'cause most people type the wrong casing which would make accurate detection difficult.