https://github.com/unilibs/uniwidth
High-performance Unicode width calculation library for Go 1.25+. 3.9-46x faster than go-runewidth with zero allocations. Perfect for TUI frameworks and terminal applications.
https://github.com/unilibs/uniwidth
cjk east-asian-width emoji go go125 golang high-performance performance terminal terminal-emulator tui unicode unicode-width wcwidth zero-allocation
Last synced: about 1 month ago
JSON representation
High-performance Unicode width calculation library for Go 1.25+. 3.9-46x faster than go-runewidth with zero allocations. Perfect for TUI frameworks and terminal applications.
- Host: GitHub
- URL: https://github.com/unilibs/uniwidth
- Owner: unilibs
- License: mit
- Created: 2025-10-15T14:11:03.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-03-03T17:19:10.000Z (about 1 month ago)
- Last Synced: 2026-03-03T21:13:52.023Z (about 1 month ago)
- Topics: cjk, east-asian-width, emoji, go, go125, golang, high-performance, performance, terminal, terminal-emulator, tui, unicode, unicode-width, wcwidth, zero-allocation
- Language: Go
- Homepage:
- Size: 111 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Roadmap: ROADMAP.md
Awesome Lists containing this project
- awesome-go - uniwidth - High-performance Unicode character width calculation with SWAR optimization, O(1) lookup tables, and ZWJ emoji support. (Text Processing / Utility/Miscellaneous)
- fucking-awesome-go - uniwidth - High-performance Unicode character width calculation with SWAR optimization, O(1) lookup tables, and ZWJ emoji support. (Text Processing / Utility/Miscellaneous)
- awesome-go-with-stars - uniwidth - performance Unicode character width calculation with SWAR optimization, O(1) lookup tables, and ZWJ emoji support. | 2026-03-03 | (Template Engines / Utility/Miscellaneous)
- awesome-go - uniwidth - High-performance Unicode character width calculation with SWAR optimization, O(1) lookup tables, and ZWJ emoji support. (Text Processing / Utility/Miscellaneous)