2 unstable releases
0.1.0 | Feb 5, 2024 |
---|---|
0.0.1 | Feb 1, 2024 |
#521 in WebAssembly
26 downloads per month
23KB
677 lines
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.
let deps = WasmDeps::parse(&wasm_module_bytes, ParseOptions::default())?;
eprintln!("{:#?}", deps.imports);
eprintln!("{:#?}", deps.exports);
Dependencies
~320–780KB
~18K SLoC