An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.8% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/ethanbaker/colors

The color package is for commands and applications that support ANSI color escapes. Don't use it unless you are sure that is the only place your code will be used. These days ANSI color support is standard on all terminals (yes including Windows). Rather that incur even the minimal cost of running a method for every ANSI escape this package uses constants and assumes that when you use them you are reasonably confident you won't have to *not* use them. When the option to not use color must be considered, for example when piping output directly into vim editing sessions, you can use the Decolor() and Strip() functions to strip all colors or ANSI escapes known to this package. Three convience executable commands have been included for testing and can be used in shell scripts (although sourcing a native Bash equivalent is preferred).

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/ethanbaker/colors
License: Apache-2.0
Latest release: almost 2 years ago
First release: over 4 years ago
Namespace: github.com/ethanbaker
Dependent packages: 1
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 months ago

    Loading...
    Readme
    Loading...