OS Manuals

/usr/bin/njs-debug

njs built with additional runtime checks and debug symbols

From njs-debug 1.0.2-r3 (os), captured 2026-11-05 by running njs-debug -help (exit 0). permalink

njs [options] [-c string | script.js | -] [script args]

Interactive shell: enabled

Options:
  -a                print AST.
  -c                specify the command to execute.
  -d                print disassembled code.
  -e <code>         set failure exit code.
  -f                disabled denormals mode.
  -j <size>         set the maximum stack size in bytes.
  -m                load as ES6 module (script is default).
  -p <path>         set path prefix for modules.
  -q                disable interactive introduction prompt.
  -r                ignore unhandled promise rejection.
  -s                sandbox mode.
  -v                print njs version and exit.
  -u                disable "unsafe" mode.
  script.js | -     run code from a file or stdin.
Options (13)
OptionDescriptionSource
-aprint AST.help
-cspecify the command to execute.help
-dprint disassembled code.help
-e codeset failure exit code.help
-fdisabled denormals mode.help
-j sizeset the maximum stack size in bytes.help
-mload as ES6 module (script is default).help
-p pathset path prefix for modules.help
-qdisable interactive introduction prompt.help
-rignore unhandled promise rejection.help
-ssandbox mode.help
-vprint njs version and exit.help
-udisable "unsafe" mode.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.