# dustin/go-humanize

Go Humans! (formatters for units to human friendly sizes)

Repository: https://github.com/dustin/go-humanize
Canonical: https://ross.abutalabs.com/products/go-humanize
Homepage: https://pkg.go.dev/github.com/dustin/go-humanize
Language: Go
License: NOASSERTION
License Family: other
Last push: 2026-03-02T20:56:06+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 5346, "days_push": 184, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4810, forks 261 (observed 2026-08-28T04:09:00.261617+00:00)

## What it is
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
- artifact type: library
- maturity: stable
- function: serialization, developer-tools
- domain: developer-tools
- platform: go, cross-platform
- tags: human-readable, formatting, file-sizes, relative-time, number-formatting, english-plurals, algorithms

## Member repositories
- dustin/go-humanize (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:00.261617+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:35.848824+00:00, confidence not recorded.
  - readme: https://github.com/dustin/go-humanize (fetched 2026-08-28T04:09:00.261617+00:00, sha 74e3a315e6b9)
  - homepage: https://pkg.go.dev/github.com/dustin/go-humanize (fetched 2026-08-29T09:01:34.279840+00:00, sha 41614323fb1d)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T09:01:34.283006+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T09:01:34.285026+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
