bytes-buck
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

ByteBUCK 💲🚀

Don't have any better name for it :p

It simply helps in calculating bytes and humanizing them.

⚡ Usage

yarn add byte-buck
# OR npm install byte-buck

Example:-

import byteBuck from 'byte-buck'

let result = byteBuck(
  // Bytes you want to sum
  ["5 GiB", "12 MiB", "5 GB"],

  // Places after decimal, ex. 4.5678 KB
  4,

  // If true, 4...KB will eb converted to 4...KiB
  true
)

📃 Docs

Docs can be found here

🤟 Contributions

Contributions, issues and feature requests are welcome!

if you feel that something is missing, feel free to create an Issue.

❤ Support

Almost all the project I make are Open Source.

Do ⭐ this Project.


Made with ❤ and TypeScript.

Package Sidebar

Install

npm i bytes-buck

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

9 kB

Total Files

14

Last publish

Collaborators

  • piyushsuthar