Files
IronCalc/bindings/wasm
Nicolás Hatcher 1391f196b5 UPDATE: Adds name validation and exposes it in wasm
We do a trick I am not proud of. Because all of our errors are Strings,
we don't have a way to separate a name error from an index error,
for instance. What I do in prepend the error with a string that indicates
where it comes from.
2025-11-20 21:44:05 +01:00
..
2025-02-06 20:48:38 +01:00
2024-12-26 10:21:21 +01:00

IronCalc Web bindings

This crate is used to build the web bindings for IronCalc. Note that it does not contain the xlsx writer and reader, only the engine.

https://www.npmjs.com/package/@ironcalc/wasm?activeTab=readme

Building

Dependencies:

  • Rust
  • wasm-pack
  • TypeScript
  • Python
  • binutils (for make)
make

Testing

Right now this is a manual process and only carries out a smoke test:

  1. Build the package
  2. Run python -m http.server
  3. In your browser open http://0.0.0.0:8000/test.html

Publishing

Follow the commands:

wasm-pack login
make
cd pkg
npm publish --access=public