# @transloadit/prettier-bytes

> > Even though this module is publicly accessible, we do not recommend using it in projects outside of [Transloadit](https://transloadit.com). We won't make any guarantees about its workings and can change things at any time, we won't adhere strictly to Se

Latest version **2.0.0** (published 2026-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @transloadit/prettier-bytes
pnpm add @transloadit/prettier-bytes
yarn add @transloadit/prettier-bytes
bun add @transloadit/prettier-bytes
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-05-28 |
| First published | 2020-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22 |
| Dependencies | 0 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 7 |
| Maintainers | kvz, mifi, remcohaszing |

## Links

- npm: https://www.npmjs.com/package/@transloadit/prettier-bytes
- Repository: https://github.com/transloadit/monolib
- Homepage: https://github.com/transloadit/monolib#readme
- Issues: https://github.com/transloadit/monolib/issues
- npm.io page: https://npm.io/package/@transloadit/prettier-bytes

## Recent versions

- 2.0.0 (latest) — 2026-05-28
- 1.1.0 — 2025-11-24
- 1.0.1 — 2025-02-27
- 1.0.0 — 2024-11-21
- 0.3.5 — 2024-11-13
- 0.3.4 — 2024-05-07
- 0.3.3 — 2024-05-06
- 0.3.2 — 2024-03-14
- 0.3.1 — 2024-01-17
- 0.3.0 — 2024-01-17
- 0.2.0 — 2023-11-30
- 0.1.3 — 2023-11-01
- 0.1.2 — 2023-10-31
- 0.1.1 — 2023-06-19
- 0.1.0 — 2022-06-28
- … 8 more at https://npm.io/package/@transloadit/prettier-bytes/versions

## README

> Even though this module is publicly accessible, we do not recommend using it in projects outside of [Transloadit](https://transloadit.com). We won't make any guarantees about its workings and can change things at any time, we won't adhere strictly to SemVer.

> This module is maintained from a monorepo called [monolib](https://github.com/transloadit/monolib).

Adapted from <https://github.com/Flet/prettier-bytes/>
Changing 1000 bytes to 1024, so we can keep uppercase KB vs kB
ISC License (c) Dan Flettre <https://github.com/Flet/prettier-bytes/blob/master/LICENSE>

---
_Source: https://npm.io/package/@transloadit/prettier-bytes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
