DOKK / manpages / debian 12 / njs / njs.1.en
NJS(1) User Commands NJS(1)

njs - JavaScript for Nginx

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

Interactive shell: disabled

print AST.
specify the command to execute.
print disassembled code.
set failure exit code.
disabled denormals mode.
set the maximum stack size in bytes.
set path prefix for modules.
disable interactive introduction prompt.
ignore unhandled promise rejection.
sandbox mode.
source code type (script is default).
print njs version and exit.
disable "unsafe" mode.
run code from a file or stdin.
February 2023 njs 0.7.9