{"library":"ansi-to-react","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"6.2.6","tags":["javascript","ansi","react","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ansi-to-react","imports":["import Ansi from 'ansi-to-react'","const Ansi = require('ansi-to-react').default","import type { AnsiProps } from 'ansi-to-react'"]},{"cmd":"yarn add ansi-to-react","imports":[]},{"cmd":"pnpm add ansi-to-react","imports":[]}],"homepage":null,"github":"https://github.com/nteract/ansi-to-react","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ansi-to-react","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ansi-to-react/compatibility"}}