Package
ansistyles
Functions that surround a string with ansistyle codes so it prints in style.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/ansistyles@0.1.3/ - unpkg
https://unpkg.com/ansistyles@0.1.3/ - esm.sh
https://esm.sh/ansistyles@0.1.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| sisteransi | 53.1m | - | 2 months ago | ESM only | - |
| colorful | 39.6k | - | 13 years ago | - | - |
| @timhall/ansi-colors | 5.5k | - | 6 years ago | ESM + CommonJS | - |
Indexability: Indexed.