Astra: A New JavaScript-to-EXE Compiler for Windows

Astra is a fast, reliable, and easy-to-use JavaScript-to-executable (js-to-exe) compiler that offers a new approach to compiling JavaScript and TypeScript applications into standalone Windows executables. Unlike traditional tools like pkg or nexe, Astra utilizes esbuild for rapid bundling and supports the latest Node.js versions, including ECMAScript modules (ESM). The compiled executables are typically around 70–80MB, and with UPX compression, sizes can be reduced to approximately 30MB. Astra is particularly suited for server applications (e.g., Express, Fastify) and command-line interfaces (CLIs) built with frameworks like Commander.js. While currently limited to Windows, support for macOS and Linux is in development.