ansi-to-react

JSON →
library 6.2.6 ·javascript
verified May 27, 2026

Convert ANSI escape codes (e.g., terminal colors) to formatted React elements. Current stable version: 6.2.6 (January 2026). Maintained by nteract, ships TypeScript types, supports React 16.3+ through 19. Supports both inline styles and CSS classes. Lightweight, no dependencies beyond React and react-dom peer deps.

total hits 47
actors 10 distinct systems
last hit 21h ago human
ByteDance
10
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
CommonCrawl
1
Search engines
1
Humans
12

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