flet

flet/prettier-bytes

:gem: augment pretty-bytes to make the output a little more readable (and a little less precise)

JavaScript
97
2
ISC License

Prettier-bytes is a lightweight npm package that augments the pretty-bytes library to make byte size outputs more readable and slightly less precise. It's designed for developers who need to display file sizes in a user-friendly format, rounding to one decimal place for smaller numbers and removing decimals for larger ones, while also changing the unit notation from `kB` to `KB` for improved readability. The package has no dependencies and is easy to integrate into Node.js projects.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of flet/prettier-bytes

Account's avatar
JavaScript Standard Style
Account's avatar
Formatted TAP output like Mocha's spec reporter
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on flet/prettier-bytes

Top contributors

Flet's profile
Flet
8 contributions
feross's profile
feross
4 contributions
ungoldman's profile
ungoldman
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet