oxc/crates/oxc_wasm
2023-10-07 17:01:23 +08:00
..
.cargo
src chore(wasm,playground): remove hir 2023-09-29 22:39:31 +13:00
.gitignore
Cargo.toml ci: turn off doc tests because they are slow to compile and run (#961) 2023-10-07 17:01:23 +08:00
README.md Website (#281) 2023-04-19 16:37:44 +08:00

About

Wasm package for oxc compiler.

🚴 Usage

import oxc from 'oxc-wasm'

const ast = oxc.main(code, options)

🛠️ Build with wasm-pack build

cargo binstall wasm-pack
wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish

🔋 Batteries Included