{"library":"anser","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.3.5","tags":["javascript","ansi","html","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install anser","imports":["import Anser from 'anser'","import { ansiToHtml } from 'anser'","import { escapeForHtml } from 'anser'"]},{"cmd":"yarn add anser","imports":[]},{"cmd":"pnpm add anser","imports":[]}],"homepage":null,"github":"https://github.com/IonicaBizau/anser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/anser","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/anser/compatibility"}}