js2 icon indicating copy to clipboard operation
js2 copied to clipboard

ECMAScript ahead-of-time compiler

Results js2 issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** fail-components/webtransport uses a `.node` file for `google/quiche` dependency, and uses networking to implement `WebTransport` server and client. **Describe the solution...

enhancement
test use case

_Disclosure: found and reduced with LLM-assisted differential testing; I checked the reproduction by hand on current `main`._ A `var`/`let` initialised with a number and later assigned a string reads back...

**Describe the bug** `--target wasai` is now creating a `.js` file and importing `"env" "__extern_get"` when importing `node:fs` **To Reproduce** ```shell bun ~/localscripts/*js2wasm/node_modules/@loopdive/js2/src/cli.ts nm_bun_sync_stream.ts --no-dts --no-wat -O4 --target=wasi --no-host-imports --emulate=none...

Is there any plan to support compilation to native binaries (for example by using LLVM or a C backend)?