@duckdb/duckdb-wasm-shell
Version:
<img src="https://raw.githubusercontent.com/duckdb/duckdb-wasm/main/misc/duckdb_wasm.svg" height="64">
11 lines (10 loc) • 411 B
TypeScript
import * as duckdb from '@duckdb/duckdb-wasm';
interface ShellProps {
shellModule: RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
container: HTMLDivElement;
resolveDatabase: (p: duckdb.InstantiationProgressHandler) => Promise<duckdb.AsyncDuckDB>;
backgroundColor?: string;
fontFamily?: string;
}
export declare function embed(props: ShellProps): Promise<void>;
export {};