File: README.md

package info (click to toggle)
node-webassemblyjs 1.11.0%2Bdfsg%2B~cs10.10.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,040 kB
  • sloc: javascript: 28,630; makefile: 84; sh: 42; ansic: 16
file content (43 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# @webassemblyjs/wasm-text-gen

> Emit documentation/code for your WASM binary

## Installation

```sh
yarn add -g @webassemblyjs/wasm-text-gen
```

## Usage

```sh
wasmgen path/to/binary.wasm
```

### Printers

Text (default):

```sh
wasmgen -o text path/to/binary.wasm
```

Markdown:

```sh
wasmgen -o md path/to/binary.wasm

// or

wasmgen -o markdown path/to/binary.wasm
```

JavaScript:

```sh
wasmgen -o js --url http://xtuc.fr/foo.wasm path/to/binary.wasm

// or

wasmgen -o javascript --url http://xtuc.fr/foo.wasm path/to/binary.wasm
```