Preparing for system design interviews?  Try bugzed.com →

ansi-sequence-parser

JSON →
library 1.1.3 ·javascript
verified Jun 17, 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 22
actors 5 distinct systems
last hit 17d ago human
ByteDance
7
GPTBot
4
Script
1
Search engines
1
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France