Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
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:

Additional examples and howtos can be found here:

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

or via Github:

NGINX, Inc.,