at-least-node
Advanced tools
Lightweight Node.js version sniffing/comparison
Weekly downloads
Changelog
1.0.0
Initial release
Readme
Sometimes you need to check if you're on at least a given Node.js version, but you don't want to pull in the whole semver
kitchen sink. That's what at-least-node
is for.
Package | Size |
---|---|
at-least-node | 2.6 kB |
semver | 75.5 kB |
const atLeastNode = require('at-least-node')
atLeastNode('10.12.0')
// -> true on Node 10.12.0+, false on anything below that
When passing in a version string:
v
(i.e. v10.12.0
)10.12
)1.0.0-beta
)Lightweight Node.js version sniffing/comparison
The npm package at-least-node receives a total of 11,488,557 weekly downloads. As such, at-least-node popularity was classified as popular.
We found that at-least-node demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.