Repository navigation
v0.1.0-beta - First Public Beta
Pre-release
Pre-release
π uniwidth v0.1.0-beta - First Public Beta
High-performance Unicode width calculation library for Go 1.25+.
β¨ Features
- 3.9-46x faster than go-runewidth (proven in benchmarks)
- Zero allocations - no GC pressure
- Unicode 16.0 support with tiered lookup optimization
- 87.1% test coverage with fuzzing and conformance tests
- Cross-platform CI (Linux/macOS/Windows) - all passing β
π¦ Installation
go get github.com/unilibs/uniwidth@v0.1.0-beta
π― Use Cases
Perfect for TUI frameworks, terminal emulators, CLI tools, and text editors.
β οΈ Beta Notice
This is a beta release for gathering community feedback. API may change before v1.0.0.
Known Limitations:
- Grapheme clusters not yet supported (planned for v0.2.0+)
- Some edge cases at Unicode boundaries (documented in CHANGELOG)
π¬ Feedback Welcome
Please report issues and suggestions at https://github.com/unilibs/uniwidth/issues
Built by the https://github.com/phoenix-tui/phoenix team.
---
Full changelog: https://github.com/unilibs/uniwidth/blob/main/CHANGELOG.md