1.0.0 • Published 3 years ago
node-mb v1.0.0
node-mb
Tiny megabyte conversion library
mb("1024kb"); // 1
mb("1.5mb"); // 1.5
mb(1.5); // 1.5mb
mb(1.5, { long: true }); // 1.5 megabytes
mb("1 gigabyte"); // 1048576
mb(1048576); // 1 terabyte
mb(mb("1 terabyte")); // 1tb
License
This package is licensed under the MIT License.
1.0.0
3 years ago