UPDATE: Adds Web browser wasm bindings (#30)
* UPDATE: Adds Web browser wasm bindings * FIX: install wasm-pack in the GitHub actions
This commit is contained in:
committed by
GitHub
parent
d445553d85
commit
489027991c
31
bindings/wasm/README.md
Normal file
31
bindings/wasm/README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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
|
||||
|
||||
```bash
|
||||
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:
|
||||
|
||||
```bash
|
||||
wasm-pack login
|
||||
make
|
||||
cd pkg
|
||||
npm publish --access=public
|
||||
```
|
||||
Reference in New Issue
Block a user