logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

njs - JavaScript for Nginx

Description

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

       Interactive shell: enabled

Name

       njs - JavaScript for Nginx

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.

njs 0.8.9                                         February 2025                                           NJS(1)

See Also