Skip to content
JS
Package

if-node-version

Run commands if on specified node version.

v1.1.1, 14 Nov 2016MITCommonJSTypes: NoneCLI tools and terminal utilitiesNode.js utilities
$ npm install if-node-version

Key numbers

As of 25 Sept 2026
Weekly downloads
2.2k
-59% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
9 years ago
v1.1.1
GitHub stars
15
15 forks
Open issues / PRs
0 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02.5k5k7.5k10kSept 2025Mar 2026Sept 2026High 8.5k (30 Sept 2025)Low 953 (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.

2,235 downloads last week, 12,348 in the last month. The 12-month change of -59% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.1, 14 Nov 20169 years ago
First published
-
Last push to GitHub
21 Jul 20202,256 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (2)
semvercross-spawn
npm install if-node-version
  • jsDelivrhttps://cdn.jsdelivr.net/npm/if-node-version@1.1.1/
  • unpkghttps://unpkg.com/if-node-version@1.1.1/
  • esm.shhttps://esm.sh/if-node-version@1.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
swpm21.5k-3 months agoESM only-
np121.5k-15 days agoESM only-
caporal38.9k-6 years agoCommonJS-
@caporal/core14.4k-3 years agoCommonJS-
libnpmexec436.7k-2 days agoCommonJS-
opensrc10.2k-3 months agoESM only-
libnpmfund437.5k-2 days agoCommonJS-
type-flag387.8k-6 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2235 < 10000.