Convert Backward from Human Readable to Bytes
vasyl-shumskyi opened this issue · 1 comments
vasyl-shumskyi commented
Thanks for amazing work!
One thing this module misses is backward converting from human readable format to bytes. Like so
filesize('1KB')
// => 1024
avoidwork commented
Going to close this issue 'cause most people type the wrong casing which would make accurate detection difficult.