Registry / utility / shiena-ansicolor

shiena-ansicolor

JSON →
library0.0.0-20230509054315-a9deabde6e02gogounverified

A Go package for ANSI color support on Windows and Unix terminals.

go get github.com/shiena/ansicolor
INSTALL
IMPORT
SIG · SHIENA-ANSICOLOR
S
shiena-ansicolor
utilitygov0.0.0-20230509054315-a9deabde6e02
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.

ansicolor
github.com/shiena/ansicolor

Wrap a writer to support ANSI color codes.

package main import ( "fmt" "github.com/shiena/ansicolor" ) func main() { w := ansicolor.NewAnsiColorWriter(nil) fmt.Fprintln(w, "\033[31mRed text\033[0m") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230509054315-a9deabde6e02latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
shiena-ansicolor — go get shiena-ansicolor · libregistry