wasm_dep_analyzer 0.2.0

Wasm module dependency analysis for module resolution
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# wasm_dep_analyzer

An extremely lightweight Wasm module parser used in Deno to get the dependencies
of a Wasm module from its bytes for the purpose of ECMAScript module resolution
and TypeScript type checking.

```rs
let deps = WasmDeps::parse(&wasm_module_bytes, ParseOptions::default())?;

eprintln!("{:#?}", deps.imports);
eprintln!("{:#?}", deps.exports);
```