semaphore-rs-nodejs
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

WASM bindings for semaphore-rs related functionality

This crate exposes semaphore-rs functionality to WASM. Currently it only exposes proof compression.

Building & publishing

wasm-pack doesn't allow us to compile to a single target for node and browser usage. Instead we'll publish a package for each target.

The build_and_publish.sh script handles all of that.

To build and publish a new version simply run ./build_and_publish.sh. Note that the package will likely fail to publish if using your own npm account.

To only check the build output run DRY_RUN=1 ./build_and_publish.sh.

Example

Refer to example/index.mjs or example/index.ts for usage

Package Sidebar

Install

npm i semaphore-rs-nodejs

Weekly Downloads

459

Version

0.1.4

License

MIT

Unpacked Size

98.7 kB

Total Files

5

Last publish

Collaborators

  • dzejkop