Registry / utility / spkg-bom

spkg-bom

JSON →
library1.0.1gogounverified

Package bom is used to clean up UTF-8 Byte Order Marks.

go get github.com/spkg/bom
INSTALL
IMPORT
SIG · SPKG-BOM
S
spkg-bom
utilitygov1.0.1
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.

bom
github.com/spkg/bom

Removes BOM from a string.

package main import ( "fmt" "strings" "github.com/spkg/bom" ) func main() { input := "\xef\xbb\xbfHello" cleaned := bom.Clean(strings.NewReader(input)) fmt.Println(cleaned) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
spkg-bom — go get spkg-bom · libregistry