Discover Packages
github.com/akyoto/colorable
package
module
Version:
v0.1.7
Opens a new window with list of versions in this module.
Published: Oct 26, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1 module, 1 package
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
colorable
Colorable writer.
Authors
Yasuhiro Matsumoto (a.k.a mattn)
Eduard Urbach (minor modifications)
Style
Please take a look at the style guidelines if you'd like to make a pull request.
Want to see your own name here?
Expand ▾
Collapse ▴
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
NewColorable returns new instance of Writer which handles escape sequence.
NewColorableStderr returns new instance of Writer which handles escape sequence for stderr.
NewColorableStdout returns new instance of Writer which handles escape sequence for stdout.
NewNonColorable returns new instance of Writer which removes escape sequence from Writer.
type NonColorable struct {
}
NonColorable holds writer but removes escape sequence.
Write writes data on console
Source Files
¶
Click to show internal directories.
Click to hide internal directories.