matrix-rust-sdk/matrix_sdk/examples/wasm_command_bot
Jonas Platte 089ab20e7c
Re-format wasm_command_bot
2021-06-23 16:12:22 +02:00
..
src Re-format wasm_command_bot 2021-06-23 16:12:22 +02:00
.gitignore examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00
Cargo.toml matrix-sdk: Upgrade our deps 2021-06-21 16:45:52 +02:00
README.md matrix-sdk: Fix the WASM example 2021-03-23 10:18:55 +01:00
index.js examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00
package.json matrix-sdk: Fix the WASM example 2021-03-23 10:18:55 +01:00
webpack.config.js examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00

README.md

Example usage of matrix-rust-sdk from WASM

You can build the example locally with:

npm install
npm run serve

and then visiting http://localhost:8080 in a browser should run the example!

This example is loosely based off of this example, an example usage of fetch from wasm-bindgen.