pretty-bytes

npmv7.1.0

Convert bytes to a human readable string: 1337 → 1.34 kB

License MITpermissive29 versions1 maintainers0 deps27,565,711 weekly dl
sindresorhus/pretty-bytes
76
/ 100
Health
safe to use

[email protected] is safe to use (health: 76/100)

Health breakdown0 – 100
10/25
maintenance
20/20
popularity
25/25
security
15/15
maturity
6/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

1.9 KBminified
1.0 KB gzipped
0 direct dependencies
🌟

TypeScript

10/10typed
bundled
Quality signals
Download trend
stable(+2.5%)
Publish security
npm signed

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/pretty-bytes

First published · 2014-02-09T17:27:09.124Z

Last updated · 2025-09-21T07:36:56.073Z