Skip to content
JS
Package

ansistyles

Functions that surround a string with ansistyle codes so it prints in style.

v0.1.3, 3 Dec 2013MITCommonJSTypes: NoneCLI tools and terminal utilities
$ npm install ansistyles

Key numbers

As of 25 Sept 2026
Weekly downloads
235.7k
-11% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
12 years ago
v0.1.3
GitHub stars
10
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 565.3k (25 Nov 2025)Low 147.6k (11 Aug 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

235,680 downloads last week, 1,051,391 in the last month. The 12-month change of -11% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.1.3, 3 Dec 201312 years ago
First published
-
Last push to GitHub
3 Dec 20134,678 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
75

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install ansistyles
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ansistyles@0.1.3/
  • unpkghttps://unpkg.com/ansistyles@0.1.3/
  • esm.shhttps://esm.sh/ansistyles@0.1.3
PackageWeekly downloadsGzipLast releaseModuleComparison
sisteransi53.1m-2 months agoESM only-
colorful39.6k-13 years ago--
@timhall/ansi-colors5.5k-6 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.