talira

Compare

go-isattycolor (Go)
What it isisatty for Go: tell whether output goes to a terminalColoured terminal output for Go with ANSI escape codes
KindOpen sourceOpen source
Trust0.340.41
Stars9258015
Last commit2026-07-232026-07-23
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyYasuhiro MatsumotoFatih Arslan
Features
  • IsTerminal check for a file descriptor
  • IsCygwinTerminal for Cygwin and MSYS2 terminals
  • no setup beyond go get
  • standard colour helpers
  • 24-bit RGB colours
  • combinable attributes like bold and underline
  • reusable colour objects
  • Windows support