Protect your apps from supply chain attacksInstall
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.
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:
Lightweight Node.js version sniffing/comparison
The npm package at-least-node receives a total of 15,371,565 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 because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.