DuckDB-Wasm can be instantiated in several ways, depending on how your application bundles and serves its assets. Each approach resolves the mainModule (the WebAssembly file) and the mainWorker (the worker script) for the browser's capabilities, then hands them to AsyncDuckDB. This page shows the patterns for a jsDelivr CDN, webpack, Vite and statically served files.
