0.1.2 • Published 1 year ago

@rhcp/arc_replace_wasm v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

WebAssembly build of the arc_replace transform

This is a WebAssembly build of the arc_replace transform, suitable for use in Nodejs and browsers.

Initial setup

Install wasm-pack.

The wasm-pack site recommends curling into your shell to install, but I prefer using cargo:

cargo install wasm-pack

Once wasm-pack is installed, you can build, test, and publish this package.js

🛠️ Build with wasm-pack build

wasm-pack build --scope rhcp --out-name arc_replace --target nodejs

Default is a release build with optimizations and no debug info. Add --dev for a debug build.

wasm-pack build docs

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

wasm-pack test docs

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish -a public --tag latest

wasm-pack publish docs

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago