Deno 1.6 lets you compile TypeScript to a single executable ↦
A (potentially) landmark feature landed in Deno 1.6:
deno compile --unstable https://deno.land/std@0.79.0/examples/cat.ts
will make you an executable version of the module.
This puts Deno-based TypeScript projects in the same league as Go and Rust by providing a way to distribute software without the pain of dynamically linking multiple files. (This single-binary distribution has made Go a popular choice for projects such as the GitHub CLI and Stripe CLI.)
Node has had a similar capability by way of Vercel’s pkg project, but Deno sets itself apart by supporting the feature as part of the runtime itself.
Discussion
Sign in or Join to comment or subscribe