Change8

terminal@0.1.0

📦 remixView on GitHub →
4 features🔧 5 symbols

Summary

This minor release introduces new terminal output utilities supporting ANSI styles, color detection, and testable streams. Automatic color detection respects common environment variables but can be configured via the `colors` option.

✨ New Features

  • Initial release of terminal output utilities for ANSI styles, color capability detection, escape sequences, and testable terminal streams.
  • Automatic color detection disables styles by default for CI, `NO_COLOR`, `TERM=dumb`, and non-TTY output streams.
  • Color styles can be overridden with the `colors` option.
  • Style helpers include common modifiers, foreground colors, background colors, bright variants, and preserve outer styles when nested formatted strings close inner styles.

Affected Symbols