ansi-sequence-parser

JSON →
library 1.1.3 ·javascript
verified May 27, 2026

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.

total hits 34
actors 9 distinct systems
last hit 20h ago human
Amazonbot
4
MetaBot
4
GPTBot
2
ByteDance
2
Script
1
Search engines
1
Humans
8

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇫🇷 France · VN · 🇸🇬 Singapore