klvm_tools_wasm
TypeScript icon, indicating that this package has built-in type declarations

0.1.34 • Public • Published

Build

Clone GitHub repository

git clone https://github.com/Chik-Network/klvm_tools_rs
cd klvm_tools_rs/wasm

Use wasm-pack to build the wasm pkg file used with npm. Install it with:

cargo install wasm-pack

Then build with

# Make sure you're at <klvm_tools_rs root>/wasm
wasm-pack build --release --target=nodejs

Test

Prerequisite:

  • NodeJS >= 16
  • Wasm files built by wasm-pack command exist at <klvm_tools_rs root>/wasm/pkg/
# Make sure you're at <klvm_tools_rs root>/wasm
node ./tests/index.js

Readme

Keywords

Package Sidebar

Install

npm i klvm_tools_wasm

Weekly Downloads

1

Version

0.1.34

License

MIT

Unpacked Size

965 kB

Total Files

6

Last publish

Collaborators

  • chik-automation