@winglang/compiler
v0.85.49
Published
Wing Compiler
Readme
Wing Compiler
The Wing Compiler is a node package that includes the wingc WASM file and provides a JavaScript API to compile Wing code.
Installation
npm install @winglang/compilerUsage
import { compile, Target } from "@winglang/compiler";
const outputDir = await compile("main.w", {
target: Target.SIM,
});