oxc/crates/oxc_wasm
2023-12-11 14:21:56 +08:00
..
.cargo
src feat(playground): format Prettier IR (#1567) 2023-11-28 13:51:47 +08:00
.gitignore chore(oxc_wasm): remove unnecessary lines from .gitignore 2023-03-20 14:38:09 +08:00
Cargo.toml chore(deps): bump the dependencies group with 7 updates (#1651) 2023-12-11 14:21:56 +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