Skip to content
JS
Package

preferred-node-version

Get the preferred Node.js version of a project or user

v5.0.1, 29 Mar 2025Apache-2.0ESM onlyTypes: BundledCLI tools and terminal utilitiesNode.js utilities
$ npm install preferred-node-version

Key numbers

As of 25 Sept 2026
Weekly downloads
10.9k
+28% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
1 year ago
v5.0.1
GitHub stars
14
25 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
44

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 21.6k (25 Aug 2026)Low 3.7k (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.

10,886 downloads last week, 56,460 in the last month. The 12-month change of +28% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.0.1, 29 Mar 20251 year ago
First published
-
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
44
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18.18.0
Runtimes
-
Unpacked size (npm)
31 kB
Dependencies (4)
p-locatepath-typeis-plain-objnode-version-alias
npm install preferred-node-version
  • jsDelivrhttps://cdn.jsdelivr.net/npm/preferred-node-version@5.0.1/
  • unpkghttps://unpkg.com/preferred-node-version@5.0.1/
  • esm.shhttps://esm.sh/preferred-node-version@5.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
swpm21.5k-3 months agoESM only-
yoctocolors28.1m-1 month agoESM only-
yoctocolors-cjs21.5m-1 year agoCommonJS-
tinyspawn123.5k-22 days agoCommonJS-
type-flag387.8k-6 days agoESM + CommonJS-
terminal-link16.9m-1 year agoESM only-
strip-ansi-stream6.4k-5 years agoESM only-
log-utils167.1k-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.