How ansi-to-html is used
ansi-to-html is a dependency in 8 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 28 projects, and what it is used with below comes from all of them. Projects that use it most often also use Express (92.9%), Model Context Protocol SDK (JavaScript) (85.7%), Anthropic SDK (82.1%).
ansi-to-html popularity over time
Gid Score 39: downloads 66, use in agent projects 32, GitHub stars 0, downloads trend 54 (each 0-100). How it is calculated.
Often used with ansi-to-html
| Express | 92.9% of ansi-to-html projects · 13.7× more than average |
|---|---|
| Model Context Protocol SDK (JavaScript) | 85.7% of ansi-to-html projects · 9.0× more than average |
| Anthropic SDK | 82.1% of ansi-to-html projects · 22.0× more than average |
| esbuild | 82.1% of ansi-to-html projects · 17.6× more than average |
| glob | 75.0% of ansi-to-html projects · 38.5× more than average |
| Handlebars | 67.9% of ansi-to-html projects · 156.0× more than average |
| tsx | 67.9% of ansi-to-html projects · 4.5× more than average |
| zod-to-json-schema | 67.9% of ansi-to-html projects · 100.3× more than average |
From all 28 projects in our scan that use ansi-to-html, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list ansi-to-html as a dependency.
Install
| Package | npm install ansi-to-html |
|---|---|
| Main stacks | TypeScript / JavaScript (25), Python (2), Next.js (1) |
| Example projects | thedotmack/claude-mem, alishobeiri/thread-notebook, JuanLuisLozadaGx/claude-men, dimaslanjaka/php-proxy-hunter, starling114/crypto-universe |
Alternatives to ansi-to-html
In our scan, none of the most used tools in Utilities does the same job as ansi-to-html: they are add-ons, companions or tools for a different task.
More in Utilities: clsx date-fns PyYAML uuid yaml js-yaml glob Lodash