Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@daneroo/zoneplate-rust

daneroo15MIT1.0.4TypeScript support: included

Zone Plate Generator in Rust/WASM

readme

Zone Plate Generator in Rust/WASM

Simply uses wasm-pack build to prepare the node package.

TODO

  • Combine with my own entry point?
  • Describe the rust toolchain requirements for building

Usage

Packaging

By default wasm-pack creates a pkg directory which is meant to be published and .gitignored.

We have renamed the output to dist/ folder, and also keep the compiled package in version control so that the rust toolchain is not required, unless actual compilation is needed.

Also, the package.json which is generated was cloned into the root directory, and modified to include the source and a slightly modified entrypoint.