An open API service indexing awesome lists of open source software.

https://github.com/avraammavridis/dom-to-svg-wasm

Convert a dom node to an svg image.
https://github.com/avraammavridis/dom-to-svg-wasm

Last synced: 6 months ago
JSON representation

Convert a dom node to an svg image.

Awesome Lists containing this project

README

          

#### Rust

```bash
curl https://sh.rustup.rs -sSf | sh

rustup default nightly
```

Setup
```
rustup target add wasm32-unknown-unknown
cargo +nightly install wasm-bindgen-cli
```

```
npm install
```

Build `wasm` module:

```
cargo build --target wasm32-unknown-unknown
```

Running FE:

```
npm run debug-build

npm run serve
```