bytesized
v2.0.0
Published
read byte values in any well-formed format
Downloads
5
Readme
Read Data Size Units
var bytesized = require("bytesized");
console.log(bytesized("42 kB")); // prints 42000
console.log(bytesized("42 KiB")); // prints 43008