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 stale · no recent hits
total hits 21
actors 5 distinct systems
last hit 17d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇨🇳 China · 🇬🇧 United Kingdom
API endpoints
full doc /v1/registry/ansi-to-react
compatibility /v1/registry/ansi-to-react/compatibility