Jamo Sandbox
Categories
Command-Line Tools

ansi-styles

ANSI escape codes for styling strings in the terminal

4.9Updated 2026-11-031 min read

At a glance

Weekly Downloads
912,242,865
Dependent Packages
3,847
License
MIT
First Published
2013

How ansi-styles stacks up

Featureansi-stylesCommand-Line Tools average
Weekly Downloads912,242,865583,380,992
Dependent Packages3,84743,504
Popularity score4.9 / 54.8 / 5

Overview

Ansi-styles is completely free to use, with no paid tier required to get started.

ansi-styles is rated exceptionally well, scoring 4.9 out of 5 on our rating metric.

Over the period tracked, ansi-styles has seen one of the faster-growing options tracked here, up roughly 175% across 4 years.

ansi-styles beats the command-line tools average on 2 of 3 tracked metrics.

with roots going back to 2013, ansi-styles is a long-tenured option in this category.

Usage over time

25820.5M20222023202420252026

Pros and cons

Strengths

  • Weekly Downloads leads the category average: 912,242,865 vs. 583,380,992.
  • Comes out ahead on popularity score — 4.9 / 5 against a category average of 4.8 / 5.
  • Free to use, with no paid tier required to get started.

Watch-outs

  • Dependent Packages trails the category average: 3,847 vs. 43,504.
  • Growing fast enough that current figures may shift quickly — verify before relying on them.

Frequently asked questions

Is ansi-styles free to use?

Yes — ansi-styles is free, with no paid tier required to get started.

Is ansi-styles good? What's its rating?

ansi-styles scores 4.9 out of 5 on our rating metric, versus a Command-Line Tools category average of 4.8.

How many people use ansi-styles?

ansi-styles has roughly 912.2M users/stars tracked, compared to a category average of 583.4M.

When was ansi-styles founded?

ansi-styles was founded in 2013, making it 13 years old.

Is ansi-styles growing?

Yes — usage is up roughly 175% over the past 4 years.

Ready to see ansi-styles for yourself?

Opens the official site in a new tab.

Visit ansi-styles

More in Command-Line Tools