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

0.8.0 • Public • Published

The klvm_rs package has JavaScript bindings for the rust implementation of klvm in wasm.
This project is very immature, and only some test API is available for the moment. Pull requests are welcome.

Build

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_rs root>/wasm
wasm-pack build --release --target=nodejs

Test

Prerequisite:

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.8.0
    3
    • latest

Version History

Package Sidebar

Install

npm i klvm_wasm

Weekly Downloads

4

Version

0.8.0

License

Apache-2.0

Unpacked Size

508 kB

Total Files

6

Last publish

Collaborators

  • chik-automation