0.0.1 • Published 3 years ago

bytes-buck v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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.