Registry / utility / acarl005-stripansi

acarl005-stripansi

JSON →
library0.0.0-20180116102854-5a71ef0e047dgogounverified

Strip ANSI escape codes from strings.

go get github.com/acarl005/stripansi
INSTALL
IMPORT
SIG · ACARL005-STRIPANSI
A
acarl005-stripansi
utilitygov0.0.0-20180116102854-5a71ef0e047d
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.

stripansi
github.com/acarl005/stripansi

Strips ANSI escape codes from a string.

package main import ( "fmt" "github.com/acarl005/stripansi" ) func main() { stripped := stripansi.Strip("\x1b[31mHello\x1b[0m") fmt.Println(stripped) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180116102854-5a71ef0e047dlatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
30
OpenAI (training)
1
Resources
acarl005-stripansi — go get acarl005-stripansi · libregistry