Please-upgrade-node
please-upgrade-node
💁 show a message to your users to upgrade Node instead of a stacktrace
please-upgrade-node
checks if the users node version is statisfying the engines
version in your package.json
if not warns, uber useful for CLI apps relying on versions.
GET IT: npm install please-upgrade-node
Sample usage:
1 2 3 |
|
in package.json
:
1 2 3 4 5 |
|
P.S: >=
is the only operator supported.
You could also:
1 2 3 4 5 6 |
|
GIF FTW!