deno and bun both support native compile feature, i.e. compile JS/TS into am executable binary.
The resulting binary starts at around 60MB. They could be useful in deployment.
How does it work?
Deno
https://docs.deno.com/runtime/reference/cli/compile/
Under the hood, it bundles a slimmed down version of the Deno runtime along with your JavaScript or TypeScript code.
There is no CLI included in the binary, so it’s not possible.