Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patricknelson/nginx-njs-typescript
Download or build the TypeScript definition files for NGINX's njs scripting language.
https://github.com/patricknelson/nginx-njs-typescript
docker-compose nginx njs typescript-definitions
Last synced: 25 days ago
JSON representation
Download or build the TypeScript definition files for NGINX's njs scripting language.
- Host: GitHub
- URL: https://github.com/patricknelson/nginx-njs-typescript
- Owner: patricknelson
- License: bsd-2-clause
- Created: 2020-06-13T03:03:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-25T01:20:47.000Z (about 1 year ago)
- Last Synced: 2024-05-17T00:19:10.904Z (6 months ago)
- Topics: docker-compose, nginx, njs, typescript-definitions
- Language: Shell
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nginx-njs-typescript
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## Instructions
### Download
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
### Build Yourself
1. Get docker: https://docs.docker.com/get-docker/
1. Run the following commands:
```
# Get this project
git clone [email protected]:patricknelson/nginx-njs-typescript.git
cd nginx-njs-typescript# Build and clean up temporary container once completed
docker-compose up
docker-compose down
```
1. Copy the generated `*.ts` files out of the `dist/` directory and into your own project.## License
See: [LICENSE](https://github.com/patricknelson/nginx-njs-typescript/blob/master/LICENSE)