Astra – a new reliable js2exe compiler

4 days ago 1

🚀 Fast, reliable and easy-to-use js-to-exe compiler.

Docs | npm | GitHub

NPM Downloads NPM License NPM Version GitHub Repo stars

Astra is (probably) the best compiler available on npm.

  • Esthetic CLI - With signale, inquirer and chalk, Astra provides a great user experience.
  • Fast build time - Powered by esbuild, Astra ensures the fastest possible compilation speed.
  • (Partial) Support for ECMAScript - Astra supports compiling ESM-based applications, with workarounds for limitations in Node.js SEA.
  • Standalone Executable - Generates a single .exe or binary file that includes all dependencies.
  • Custom Metadata - Modify metadata (icon, name, version, etc.) of the generated executable.
  • Built-in Compression - Reduces the size of the final executable.

Install Astra globally using Yarn or npm:

# npm npm i -g astra-cli # yarn yarn global add astra-cli # pnpm pnpm add -g astra-cli # for one project only # npm npm i --save-dev astra-cli # yarn yarn add --dev astra-cli # pnpm pnpm add -D astra-cli

Then, compile your JavaScript/TypeScript project:

For more options, run:

Contributions are welcome! Feel free to open issues or submit pull requests.

Astra is licensed under the MIT License.


Made with ❤️ by QwertyCodeQC

Read Entire Article