Skip to content
JS
Package

cmd-extension

Gets the right command file extension on Windows

v2.0.0, 11 Mar 2026MITESM onlyTypes: None
$ npm install cmd-extension

Key numbers

As of 25 Sept 2026
Weekly downloads
626.1k
+38% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 months ago
v2.0.0
GitHub stars
104
33 forks
Open issues / PRs
14 / 24
Contributors
-
Commits, last 52 weeks
34

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 780.3k (2 Jun 2026)Low 159.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.

626,117 downloads last week, 2,300,073 in the last month. The 12-month change of +38% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
14 in total
Latest version
2.0.0, 11 Mar 20266 months ago
First published
28 Sept 2021
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
14
Open pull requests
24
Commits, last 52 weeks
34
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 11 Mar 2026
  2. v1 first release 1.0.0, 28 Sept 2021

Recent releases

VersionPublished
2.0.011 Mar 2026
1.0.228 Sept 2021
1.0.128 Sept 2021
1.0.028 Sept 2021
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=22.13
Runtimes
-
Unpacked size (npm)
2.2 kB
Dependencies (0)
None
npm install cmd-extension
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cmd-extension@2.0.0/
  • unpkghttps://unpkg.com/cmd-extension@2.0.0/
  • esm.shhttps://esm.sh/cmd-extension@2.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.