node-mb
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

node-mb

Tiny megabyte conversion library

npm npm NPM

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-mb

      Weekly Downloads

      2

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      3.73 kB

      Total Files

      5

      Last publish

      Collaborators

      • hiimjustin000