Preparing for system design interviews?  Try bugzed.com →

Anser - ANSI Sequence Parser

JSON →
library 2.3.5 ·javascript
verified Jun 17, 2026

Anser is a low-level parser for ANSI escape codes, converting terminal text with color/style sequences into HTML elements, JSON, or plain text. Version 2.3.5 is the current stable release, with infrequent updates focused on bug fixes and edge cases. Key differentiators: supports true color (24-bit), 256-color palette, and SGR parameters; provides both HTML and JSON output; includes link detection and HTML escaping; has TypeScript definitions. Alternatives like chalk focus on terminal output, not parsing, while ansi-to-html is less feature-rich. Released under MIT license.

total hits 17
actors 4 distinct systems
last hit 20d ago AhrefsBot
ByteDance
5
GPTBot
4
Script
1
Humans
3

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