ansi-sequence-parser
JSON →A parser for ANSI escape sequences that tokenizes input into structured objects with foreground/background colors and decorations. Current stable version is 1.1.3. Released with minor features and bug fixes since its initial v1.0.0 in 2023. Key differentiator: it supports incremental parsing via a stateful parser, provides a color palette to interpret named, table, and RGB colors as hex codes, and ships TypeScript types. Suitable for generating pretty HTML or custom rendering from terminal output.
Traffic · last 30 days ↑20% vs prev 7d
total hits 34
actors 9 distinct systems
last hit 20h ago human
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇫🇷 France · VN · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/ansi-sequence-parser
compatibility /v1/registry/ansi-sequence-parser/compatibility