Registry / utility / samfoo-ansi

samfoo-ansi

JSON →
library0.0.0-20160124022901-b6bd2ded7189gogounverified

A small, fast library to create ANSI colored strings and codes for terminal output.

go get github.com/samfoo/ansi
INSTALL
IMPORT
SIG · SAMFOO-ANSI
S
samfoo-ansi
utilitygov0.0.0-20160124022901-b6bd2ded7189
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.

ansi
github.com/samfoo/ansi

Print colored text to the terminal

package main import ( "fmt" "github.com/samfoo/ansi" ) func main() { fmt.Println(ansi.Colorize("Hello, World!", "red")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20160124022901-b6bd2ded7189latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
samfoo-ansi — go get samfoo-ansi · libregistry