3 releases (breaking)
new 0.2.0 | Nov 22, 2024 |
---|---|
0.1.0 | Feb 5, 2024 |
0.0.1 | Feb 1, 2024 |
#144 in WebAssembly
993 downloads per month
Used in 29 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
~0.3–0.8MB
~19K SLoC