Replies: 1 comment
-
Modified the example from https://observablehq.com/@kimmolinna/duckdb-wasm-shell-on-observablehq: import * as wasm from 'https://cdn.jsdelivr.net/npm/@duckdb/duckdb-wasm-shell@1.28.1-dev258.0/+esm';
var container = document.getElementById("container");
var shell = await wasm.embed({
shellModule: 'duckdb/shell_bg.wasm', //bg.arrayBuffer(),
container: container,
resolveDatabase: async () => {return db;}
})
console.log("shell", shell); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to have something like the example here: https://github.com/duckdb/duckdb-wasm/blob/main/examples/bare-browser/index.html but adapted for duckdb-wasm-shell
Or if that is not feasible, a way to use the shell with a local file server/host without the need to mess with build tools
Beta Was this translation helpful? Give feedback.
All reactions