Registry / utility / andybalholm-crlf

andybalholm-crlf

JSON →
library0.0.0-20171020200849-670099aa064fgogounverified

Utility package for handling DOS-style CR/LF line endings in files.

go get github.com/andybalholm/crlf
INSTALL
IMPORT
SIG · ANDYBALHOLM-CRLF
A
andybalholm-crlf
utilitygov0.0.0-20171020200849-670099aa064f
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.

crlf
github.com/andybalholm/crlf

Create a reader that normalizes CR/LF to LF.

package main import ( "github.com/andybalholm/crlf" "strings" ) func main() { input := "hello\r\nworld" reader := crlf.NewReader(strings.NewReader(input)) // reader now normalizes line endings }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20171020200849-670099aa064flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources
andybalholm-crlf — go get andybalholm-crlf · libregistry