github.com/alecthomas/colour
Package colour ([docs]1) provides [Quake-style colour formatting]2 for Unix terminals. It is a drop-in replacement for the fmt package. The package level functions can be used to write to stdout (or strings or other files). If stdout is not a terminal, colour formatting will be stripped. eg. For more control a Printer object can be created with various helper functions. This can be used to do useful things such as strip formatting, write to strings, and so on. The following sequences are converted to their equivalent ANSI colours:
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
over 6 years ago
v0.1.0
over 6 years ago
Versions
1
1
Dependent Packages
512
512
Dependent Repos
2,405
2,405
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/alecthomas/colour
spec |
| License | MIT |
| Namespace | github.com/alecthomas |
| First Release | over 6 years ago |
| Last Synced | 3 days ago |
Rankings on proxy.golang.org
Overall
Top 4.5%
Dependent packages
Top 0.2%
Dependent repos
Top 0.2%
Docker downloads
Top 1.5%