A simple proxy that starts and stops backend instances
This repository has been archived on 2023-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2022-06-08 22:11:07 +02:00
.gitignore Added README 2022-06-08 22:11:07 +02:00
index.ts Initial commit 2022-06-08 22:06:57 +02:00
map.json Initial commit 2022-06-08 22:06:57 +02:00
package.json Initial commit 2022-06-08 22:06:57 +02:00
README.md Added README 2022-06-08 22:11:07 +02:00
tsconfig.json Initial commit 2022-06-08 22:06:57 +02:00

on-demand-proxy

A simple proxy that starts and stops backend instances

Packaging

Transpile TypeScript to JavaScript

tsc

Create binaries for x64 / arm64 / arm32

pkg index.js -o dist/on-demand-proxy-x64 -t node16-linux-x64 --no-bytecode --public-packages "*" --public
pkg index.js -o dist/on-demand-proxy-arm64 -t node16-linux-arm64 --no-bytecode --public-packages "*" --public
pkg index.js -o dist/on-demand-proxy-arm32 -t node14-linux-armv6 --no-bytecode --public-packages "*" --public