-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,10 +112,10 @@ npx node-release-lines <command> [options] | |
|
||
#### `isnodesafe` Options | ||
|
||
* -v, --version output the version number | ||
* -c, --ci Returns a non-zero exit code if the version of Node.js is not safe, and a zero exit code if it is safe. | ||
* -r, --release [release] Checks to see if a specific release of Node.js is safe | ||
* -h, --help output usage information | ||
* `-v, --version`: output the version number | ||
* `-c, --ci`: Returns a non-zero exit code if the version of Node.js is not safe, and a zero exit code if it is safe. | ||
* `-r, --release [release]` Checks to see if a specific release of Node.js is safe | ||
* `-h, --help` output usage information | ||
|
||
#### `isnodesafe` Examples | ||
``` | ||
|
@@ -128,6 +128,27 @@ $ isnodesafe -rc 6.9.5 | |
### Command: `amisafe` | ||
This command is deprecated in favor of [`isnodesafe`](#command-isnodesafe-options). It will work as an alias of `isnodesafe` until `[email protected]`, at which point it will be removed. | ||
|
||
### Command: `nodetimeline [options]` | ||
|
||
`nodetimeline` is a CLI tool to understand Node.js release lines lifespans. | ||
|
||
#### `nodetimeline` Options | ||
|
||
* `-v, --version`: output the version number | ||
* `-c, --current`: Returns all "Current" versions of Node.js. | ||
* `-l, --lts`: Returns all presently supported "LTS" versions of Node.js – regardless of whether or not they are presently active "LTS". | ||
* `-a, --active`: Returns all active "LTS" Node.js release lines. | ||
* `-m, --maintenance`: Returns all presently supported "Maintenance" versions of Node.js. | ||
* `-s, --supported`: Returns all presently supported Node.js version | ||
* `-h, --help`: output usage information | ||
|
||
#### `nodetimeline` Examples | ||
``` | ||
$ nodetimeline | ||
$ nodetimeline -c | ||
$ nodetimeline --lts | ||
``` | ||
|
||
# API | ||
|
||
<a name="terminology"></a> | ||
|