A Go library providing formatters to convert numbers, sizes, times, and ordinals into human-readable strings.
Go Humans! (formatters for units to human friendly sizes)
The library offers straightforward functions like humanize.Bytes and humanize.Time with clear examples, making it easy to integrate without complex configuration.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
It covers essential formatting needs such as size conversion (MB/MiB), relative times, ordinals, and number commas, as shown in the README with practical code snippets.
With godoc documentation and Travis CI integration, the project is maintained and reliable for production use, as evidenced by the build status and clear import instructions.
Built on Go's standard library, it adds no external dependencies, keeping projects lean and focused, which is ideal for microservices or CLI tools.
Core functions are English-centric, and the english subpackage only handles English pluralization, making it unsuitable for internationalization without additional work.
The library provides preset formats (e.g., MB vs MiB for sizes) with no built-in customization, limiting flexibility for apps needing tailored outputs.
It lacks support for complex scenarios like multi-language time formatting or custom humanization rules, as admitted by the minimalistic philosophy focusing only on common tasks.