@rhcp/arc_replace_wasm
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @rhcp/arc_replace_wasm

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

743 kB

Total Files

6

Last publish

Collaborators

  • bexter89
  • dfaucette
  • rlahoda
  • cgatyas
  • caramelcode
  • mwcz
  • kylebuch8