Registry / utility / code-hex-uniseg

code-hex-uniseg

JSON →
library0.2.0gogounverified

Package uniseg implements Unicode Text Segmentation (grapheme cluster boundaries) per UAX #29.

go get github.com/Code-Hex/uniseg
INSTALL
IMPORT
SIG · CODE-HEX-UNISEG
C
code-hex-uniseg
utilitygov0.2.0
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/Code-Hex/uniseg

Iterate over grapheme clusters in a string

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
code-hex-uniseg — go get code-hex-uniseg · libregistry