1.5.1 • Published 6 years ago

ansi-to v1.5.1

Weekly downloads
26
License
MIT
Repository
github
Last release
6 years ago

ANSI-to

😹 export ANSI color strings to various formats: HTML, SVG, PNG.

Build Status Coverage Status NPM Version XO code style

ANSI-to takes a string of ANSI and converts it to various types of output. For example, this SVG:

Lead Image

Support

Support the development of ANSI-to by becoming a patreon.

Features

ANSI-to has the following plugins available:

  • SVG - Export ANSI to Scalable Vector Graphics
  • PNG, JPG - Export ANSI to raster image (JPG, PNG)
  • HTML (coming soon)

Important: Do not use ANSI-to directly. Please use one of the above plugins.

General Features

  • iTerm2 color support - Base16 iTerm2 Color Schemes
  • Use output in your README.md files
  • Designed for use with Chalk
  • Plugin architecture to build-your-own ANSI Parser
  • Built-in default colors
  • User can override colors
  • Emoji support
  • Powerline font support

Why ANSI-to ?

ANSI-to is designed for use with ZTD development (Zero Technical Debt). ANSI-to provides a Markdown friendly way to include CLI output in your software documentation.