#wasm-module #analysis #resolution #deno #javascript #byte #typescript

wasm_dep_analyzer

Wasm module dependency analysis for module resolution

3 releases (breaking)

0.2.0 Nov 22, 2024
0.1.0 Feb 5, 2024
0.0.1 Feb 1, 2024

#119 in WebAssembly

Download history 37/week @ 2024-10-25 30/week @ 2024-11-01 4/week @ 2024-11-08 921/week @ 2024-11-15 2062/week @ 2024-11-22 1874/week @ 2024-11-29 3069/week @ 2024-12-06 3993/week @ 2024-12-13 3395/week @ 2024-12-20 3451/week @ 2024-12-27 4708/week @ 2025-01-03 6832/week @ 2025-01-10 6373/week @ 2025-01-17 6532/week @ 2025-01-24 5518/week @ 2025-01-31 6527/week @ 2025-02-07

26,286 downloads per month
Used in 46 crates (2 directly)

MIT license

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

~275–770KB
~18K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy