Registry / utility / xdg-go-stringprep

xdg-go-stringprep

JSON →
library1.0.4gogounverified

Package stringprep provides data tables and algorithms for RFC-3454, including errata (as of 2018-02). It also provides a profile for SASLprep as defined in RFC-4013.

go get github.com/xdg-go/stringprep
INSTALL
IMPORT
SIG · XDG-GO-STRINGPREP
X
xdg-go-stringprep
utilitygov1.0.4
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.

stringprep
✓ github.com/xdg-go/stringprep

Prepare a string using SASLprep profile

package main import ( "fmt" "github.com/xdg-go/stringprep" ) func main() { result, err := stringprep.SASLprep.Prepare("User\u00A0Name") if err != nil { fmt.Println(err) return } fmt.Println(result) // Output: User Name }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
xdg-go-stringprep — go get xdg-go-stringprep · libregistry