Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

ansi-escapes

ANSI escape codes for terminal manipulation and styling.

UtilitiesNPM

GitHubWebsite

1. License

License from npm.

github.com/sindresorhus/ansi-escapes

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What ansi-escapes does

ANSI escape codes for terminal manipulation and styling.

ansi-escapes popularity

50 / 100
Gid Score, #2011 overall
18M
downloads a week, npm
554
GitHub stars
1
agent projects use it
ansi-escapes: downloads per weeknpm, ansi-escapes 180,086,280
ansi-escapes: GitHub starssindresorhus/ansi-escapes 554

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How ansi-escapes is used

  • ansi-escapes joined the catalog on its public numbers (180,086,280 downloads a week on npm and 554 GitHub stars), not on our project count: it is a dependency in 9 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • Projects that use it most often also use chalk (100.0%), dotenv (77.8%), chokidar (55.6%).

Often used with

In 100.0% of its projects
In 77.8% of its projects
In 55.6% of its projects
In 55.6% of its projects
In 55.6% of its projects
In 44.4% of its projects
In 44.4% of its projects
In 44.4% of its projects

More about ansi-escapes

Funding
  • GitHub Sponsors: https://github.com/sindresorhus
  • Open Collective: https://opencollective.com/sindresorhus
  • Buy Me a Coffee: https://buymeacoffee.com/sindresorhus
  • Own page: https://sindresorhus.com/donate
  • 186 GitHub sponsors

See all

More in Utilities

Alternatives

ansi-escapes This page

MITGid 5018M/wk

Compare ansi-escapes with another tool

Get started

Install it.

npm install ansi-escapes

No step-by-step start for ansi-escapes yet: we have not written its hand-checked card.