Registry / utility / rivo-uniseg

rivo-uniseg

JSON →
library0.4.7gogounverified

Package uniseg implements Unicode Text Segmentation, Unicode Line Breaking, and string width calculation for monospace fonts.

go get github.com/rivo/uniseg
INSTALL
IMPORT
SIG · RIVO-UNISEG
R
rivo-uniseg
utilitygov0.4.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

uniseg
github.com/rivo/uniseg

Iterates over grapheme clusters in a string using uniseg.

package main import ( "fmt" "github.com/rivo/uniseg" ) func main() { graphemes := uniseg.NewGraphemes("Hello, 世界") for graphemes.Next() { fmt.Println(graphemes.Str()) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
rivo-uniseg — go get rivo-uniseg · libregistry