ansi-to-react
JSON →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.
Traffic · last 30 days ↓72% vs prev 7d
total hits 47
actors 10 distinct systems
last hit 21h ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada · BD
API endpoints
full doc /v1/registry/ansi-to-react
compatibility /v1/registry/ansi-to-react/compatibility