A simple proxy that starts and stops backend instances
.gitignore | ||
index.ts | ||
map.json | ||
package.json | ||
README.md | ||
tsconfig.json |
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