oxc/crates/oxc_wasm
2023-03-11 23:26:45 +08:00
..
.cargo fix(oxc_wasm): remove wee_alloc dependency; fix profile warning 2023-03-06 14:50:02 +08:00
src feat(semantic): declare symbol and reference Identifier 2023-03-10 23:28:51 -08:00
.gitignore feat(wasm): add wasm to oxc (#130) 2023-03-06 14:13:06 +08:00
Cargo.toml chore(rust): bump deps 2023-03-11 23:26:45 +08:00
README.md fix(oxc_wasm): remove wee_alloc dependency; fix profile warning 2023-03-06 14:50:02 +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

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