0.2.0 • Published 5 months ago

seac v0.2.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

seac: Single Executable Application Compiler

A simple command-line tool that compiles a Node.js program into single executable binary that runs without Node.js runtime installed, built on top of the Node.js single executable application (SEA) feature.

!NOTE The Node.js SEA feature is currently still experimental according to the official document. And seac is super experimental.

Installation

npm i -D seac

Usage

Windows:

seac hello.js hello.exe

Linux or macOS:

seac hello.js hello

Limitations

  • Requires Node.js v20 or higher
  • Only CommonJS is supported. ESM is not supported yet by the Node.js SEA feature.

Prior art

License

Apache-2.0

Technical memo

Seac cannot be compiled to single executable by itself because its denendency esbuild uses uncompilable Node.js feature require.resolve.

0.2.0

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago