Skip to content
JS
Package

@inquirer/ansi

A lightweight package providing ANSI escape sequences for terminal cursor manipulation and screen clearing.

v2.0.8, 2 Sept 2026MITESM onlyTypes: BundledCLI tools and terminal utilities
$ npm install @inquirer/ansi

Key numbers

As of 25 Sept 2026
Weekly downloads
33m
+825% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
22 days ago
v2.0.8
GitHub stars
21.6k
1.4k forks
Open issues / PRs
8 / 7
Contributors
258
Commits, last 52 weeks
423

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 45.7m (25 Aug 2026)Low 3.4m (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

32,993,762 downloads last week, 165,409,766 in the last month. The 12-month change of +825% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1112 in total
Latest version
2.0.8, 2 Sept 202622 days ago
First published
14 Sept 2025
Last push to GitHub
24 Sept 20261 day before the snapshot
Repository archived
No
Open issues
8
Open pull requests
7
Commits, last 52 weeks
423
Dependents on npm
29

Major versions

  1. v2 first release 2.0.0, 16 Nov 2025
  2. v1 first release 1.0.0, 14 Sept 2025

Recent releases

VersionPublished
2.0.82 Sept 2026
2.0.729 May 2026
2.0.625 May 2026
2.0.56 Apr 2026
2.0.415 Mar 2026
2.0.311 Jan 2026
2.0.22 Dec 2025
2.0.117 Nov 2025
2.0.016 Nov 2025
1.0.28 Nov 2025
1.0.113 Oct 2025
1.0.014 Sept 2025
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=23.5.0 || ^22.13.0 || ^20.17.0
Runtimes
-
Unpacked size (npm)
5.6 kB
Dependencies (0)
None
npm install @inquirer/ansi
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@inquirer/ansi@2.0.8/
  • unpkghttps://unpkg.com/@inquirer/ansi@2.0.8/
  • esm.shhttps://esm.sh/@inquirer/ansi@2.0.8
PackageWeekly downloadsGzipLast releaseModuleComparison
enquirer25.2m-3 years agoCommonJS-
prompts46.2m-4 years agoCommonJS-
@clack/prompts17.8m-11 days agoESM only-
@clack/core17.8m-11 days agoESM only-
inquirer-autocomplete-prompt1.3m-2 years ago--
inquirer-autocomplete-standalone375k-2 years agoESM only-
inquirer-checkbox-plus-prompt483k-3 years agoCommonJS-
yoctocolors28.1m-1 month agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.