dustin/go-humanize
Go Humans! (formatters for units to human friendly sizes) observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 70
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5346
- days_rel: n/a
- days_push: 184
- n_releases_24m: 0
Adoption not part of the score
4810 stars · 261 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Go library providing functions to format units in human-friendly ways, such as converting byte counts to '83 MB', times to '7 hours ago', and numbers to ordinals, comma-separated, or SI notation. It also includes an English subpackage for pluralization and word series formatting.
Use cases
- format file sizes in human readable units like MB or MiB
- display relative timestamps like '3 days from now'
- convert numbers to ordinals like 1st, 2nd, 3rd
- add thousands separators to numbers
- format numbers with SI notation
- pluralize English words correctly
- format lists of words with conjunctions
When to choose
- you need human-friendly formatting of sizes, times, or numbers in a Go program
- you want a small, widely-adopted, stable dependency with minimal imports
- you need simple English pluralization or word list formatting
When to avoid
- you need internationalization/localized formatting for non-English languages
- you need locale-aware number or date formatting with full i18n support
- you are not working in Go
Facets
library · maturity stable
serialization developer-tools developer-tools go cross-platform human-readable formatting file-sizes relative-time number-formatting english-plurals algorithms
4 sources
- readme: https://github.com/dustin/go-humanize · fetched 2026-08-28 · 74e3a315e6b9
- homepage: https://pkg.go.dev/github.com/dustin/go-humanize · fetched 2026-08-29 · 41614323fb1d
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dustin/go-humanize | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="dustin/go-humanize")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem