Skip to content

v1.4.4

Choose a tag to compare

@github-actions github-actions released this 27 Jan 18:18
· 24 commits to main since this release

Ducklings v1.4.4

Packages

Installation

# Browser
npm install @ducklings/browser@1.4.4

# Cloudflare Workers
npm install @ducklings/workers@1.4.4

Usage

Browser:

import { init, DuckDB } from '@ducklings/browser';

await init();
const db = new DuckDB();
const conn = db.connect();
const result = conn.query('SELECT 42 as answer');

Cloudflare Workers:

import { init, DuckDB } from '@ducklings/workers';
import wasmModule from '@ducklings/workers/wasm';

await init({ wasmModule });
const db = new DuckDB();
const conn = db.connect();
const result = await conn.query('SELECT 42 as answer');

Full Changelog: v1.4.3...v1.4.4