1 | SYNOPSIS
|
2 | check-node-version [OPTIONS]
|
3 |
|
4 | DESCRIPTION
|
5 | check-node-version will check if the current node, npm, npx and yarn
|
6 | versions match the given semver version ranges.
|
7 |
|
8 | If the given version is not satisfied, information about
|
9 | installing the needed version is printed and the program exits
|
10 | with an error code.
|
11 |
|
12 | OPTIONS
|
13 |
|
14 | --node VERSION
|
15 | Check that the current node version matches the given semver
|
16 | version range.
|
17 |
|
18 | --npm VERSION
|
19 | Check that the current npm version matches the given semver
|
20 | version range.
|
21 |
|
22 | --npx VERSION
|
23 | Check that the current npx version matches the given semver
|
24 | version range.
|
25 |
|
26 | --yarn VERSION
|
27 | Check that the current yarn version matches the given semver
|
28 | version range.
|
29 |
|
30 | --package
|
31 | Use the "engines" key in the current package.json for the
|
32 | semver version ranges.
|
33 |
|
34 | -p, --print
|
35 | Print installed versions.
|
36 |
|
37 | -h, --help
|
38 | Print this message.
|