{
"name": "node",
"description": "Run the node interpreter",
"options": [
{
"names": [
"-e",
"--eval=..."
],
"description": "Evaluate script",
"takes_arg": true
},
{
"names": [
"--watch"
],
"description": "Watch input files"
},
{
"names": [
"--watch-path"
],
"description": "Specify a watch directory or file",
"takes_arg": true,
"arg": {
"name": "path",
"template": "filepaths"
}
},
{
"names": [
"--watch-preserve-output"
],
"description": "Disable the clearing of the console when watch mode restarts the process"
},
{
"names": [
"--env-file"
],
"description": "Specify a file containing environment variables",
"takes_arg": true,
"arg": {
"name": "path",
"template": "filepaths"
}
},
{
"names": [
"-p",
"--print"
],
"description": "Evaluate script and print result"
},
{
"names": [
"-c",
"--check"
],
"description": "Syntax check script without executing"
},
{
"names": [
"-v",
"--version"
],
"description": "Print Node.js version"
},
{
"names": [
"-i",
"--interactive"
],
"description": "Always enter the REPL even if stdin does not appear to be a terminal"
},
{
"names": [
"-h",
"--help"
],
"description": "Print node command line options (currently set)"
},
{
"names": [
"--inspect"
],
"description": "Activate inspector on host:port (default: 127.0.0.1:9229)",
"takes_arg": true,
"arg": {
"name": "[host:]port"
}
},
{
"names": [
"--preserve-symlinks"
],
"description": "Follows symlinks to directories when examining source code and templates for translation strings"
}
],
"args": [
{
"name": "node script"
}
]
}