This repository holds (and allows you to automatically generate) the TypeScript definition files necessary to easily
develop against the njs
scripting language for NGINX. See: https://nginx.org/en/docs/njs/typescript.html
Download this repository's ZIP file and pull the TypeScript files out of the dist/
directory.
https://github.com/patricknelson/nginx-njs-typescript/archive/master.zip
- Get docker: https://docs.docker.com/get-docker/
- Run the following commands:
# Get this project git clone git@github.com:patricknelson/nginx-njs-typescript.git cd nginx-njs-typescript # Build and clean up temporary container once completed docker-compose up docker-compose down
- Copy the generated
*.ts
files out of thedist/
directory and into your own project.
See: LICENSE