{"library":"ansi-sequence-parser","type":"library","category":null,"description":"A parser for ANSI escape sequences that tokenizes input into structured objects with foreground/background colors and decorations. Current stable version is 1.1.3. Released with minor features and bug fixes since its initial v1.0.0 in 2023. Key differentiator: it supports incremental parsing via a stateful parser, provides a color palette to interpret named, table, and RGB colors as hex codes, and ships TypeScript types. Suitable for generating pretty HTML or custom rendering from terminal output.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","ansi","sequences","parser","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ansi-sequence-parser","imports":["import { parseAnsiSequences } from 'ansi-sequence-parser'","import { createAnsiSequenceParser } from 'ansi-sequence-parser'","import { createColorPalette } from 'ansi-sequence-parser'","import { defaultNamedColorsMap } from 'ansi-sequence-parser'"]},{"cmd":"yarn add ansi-sequence-parser","imports":[]},{"cmd":"pnpm add ansi-sequence-parser","imports":[]}],"homepage":null,"github":"https://github.com/blake-mealey/ansi-sequence-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ansi-sequence-parser","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-sequence-parser/compatibility"}}