Skip to content

v1.5.2

Choose a tag to compare

@github-actions github-actions released this 29 Apr 12:53
· 3 commits to main since this release

Ducklings v1.5.2

Packages

Installation

# Browser
npm install @ducklings/browser@1.5.2

# Cloudflare Workers
npm install @ducklings/workers@1.5.2

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.5.1...v1.5.2