njs icon indicating copy to clipboard operation
njs copied to clipboard

An official read-only mirror of http://hg.nginx.org/njs/ which is updated hourly.

NGINX JavaScript (njs)

njs is a subset of the JavaScript language that allows extending nginx functionality. njs is created in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later extensions. The compliance is still evolving.

The documentation is available online:

https://nginx.org/en/docs/njs/

Additional examples and howtos can be found here:

https://github.com/nginx/njs-examples

Please ask questions, report issues, and send patches to the mailing list:

[email protected] (https://mailman.nginx.org/mailman/listinfo/nginx-devel)

or via Github:

https://github.com/nginx/njs

-- NGINX, Inc., https://nginx.com