3 releases (breaking)
0.2.0 | Nov 22, 2024 |
---|---|
0.1.0 | Feb 5, 2024 |
0.0.1 | Feb 1, 2024 |
#153 in WebAssembly
4,901 downloads per month
Used in 34 crates
(2 directly)
23KB
678 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
~270–760KB
~18K SLoC