Skip to content
JS
Package

ansi-escape-sequences

A simple library containing all known terminal ansi escape codes and sequences.

v6.2.4, 6 Dec 2024MITESM + CommonJSTypes: NoneCLI tools and terminal utilities
$ npm install ansi-escape-sequences

Key numbers

As of 25 Sept 2026
Weekly downloads
458.4k
-7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v6.2.4
GitHub stars
67
13 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 617.8k (10 Mar 2026)Low 292.3k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

458,401 downloads last week, 2,139,046 in the last month. The 12-month change of -7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
032 in total
Latest version
6.2.4, 6 Dec 20241 year ago
First published
12 Jun 2014
Last push to GitHub
10 Sept 202614 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
90

Major versions

  1. v6 first release 6.0.0, 4 Mar 2021
  2. v5 first release 5.0.0, 14 Oct 2019
  3. v4 first release 4.0.0, 8 Aug 2017
  4. v3 first release 3.0.0, 6 Oct 2016
  5. v2 first release 2.0.0, 13 Apr 2015
  6. v1 first release 1.0.0, 1 Feb 2015
  7. v0 first release 0.0.1, 12 Jun 2014

Recent releases

VersionPublished
6.2.46 Dec 2024
6.2.32 Oct 2024
6.2.23 May 2023
6.2.129 Jan 2022
6.2.018 Aug 2021
6.1.16 Jul 2021
6.1.04 Jul 2021
6.0.14 Mar 2021
6.0.04 Mar 2021
5.1.27 Nov 2019
5.1.17 Nov 2019
5.1.06 Nov 2019
5.0.014 Oct 2019
4.1.04 Mar 2019
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12.17
Runtimes
-
Unpacked size (npm)
45 kB
Dependencies (1)
array-back
Peer dependencies (1)
@75lb/nature
npm install ansi-escape-sequences
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ansi-escape-sequences@6.2.4/
  • unpkghttps://unpkg.com/ansi-escape-sequences@6.2.4/
  • esm.shhttps://esm.sh/ansi-escape-sequences@6.2.4
PackageWeekly downloadsGzipLast releaseModuleComparison
yoctocolors28.1m-1 month agoESM only-
yoctocolors-cjs21.5m-1 year agoCommonJS-
strip-ansi-stream6.4k-5 years agoESM only-
pintor9.8k-3 months agoESM + CommonJS-
sum-up216.9k-8 years ago--
colorette57.7m-3 years agoESM + CommonJS-
terminal-link16.9m-1 year agoESM only-
@inquirer/ansi33m-22 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.