Package
ansi-color
This module provides basic ANSI color code support, to allow you to format your console output with foreground and background colors as well as providing bold, italic and underline support.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 549.5k
- -2% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 9 months ago
- v0.2.2
- GitHub stars
- 40
- 15 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 4
Downloads
Last week 2026-09-15 to 2026-09-21
549,476 downloads last week, 2,821,142 in the last month. The 12-month change of -2% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 12 in total
- Latest version
- 0.2.2, 11 Dec 20259 months ago
- First published
- 1 Jan 2015
- Last push to GitHub
- 11 Dec 2025288 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 4
- Dependents on npm
- -
Major versions
- v0 first release 0.2.1, 1 Jan 2015
Recent releases
| Version | Published |
|---|---|
| 0.2.2 | 11 Dec 2025 |
| 0.2.1 | 1 Jan 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 5.1 kB
- Dependencies (0)
- None
npm install ansi-color- jsDelivr
https://cdn.jsdelivr.net/npm/ansi-color@0.2.2/ - unpkg
https://unpkg.com/ansi-color@0.2.2/ - esm.sh
https://esm.sh/ansi-color@0.2.2
Indexability: Indexed.