duckdb-wasm

Installation
SKILL.md

DuckDB-Wasm

Execute blazing-fast analytical SQL directly inside web browsers using @duckdb/duckdb-wasm, Web Workers, and Apache Arrow. Whether you need to query local multi-megabyte Parquet files without server uploads, stream remote columnar datasets via HTTP range requests, or persist full analytical databases locally via the Origin Private File System (opfs://), this skill provides production-grade architecture with zero bundler crashes or memory leaks.


When to Use

  • Running client-side analytical queries over Parquet, CSV, or Arrow IPC files without uploading data to a backend server.
  • Persisting client-side relational analytical data across page reloads using the browser's native Origin Private File System (opfs://).
  • Building zero-install local data exploration tools, interactive BI dashboards, or offline-capable data science interfaces.
  • Integrating in-browser SQL querying with modern frontend bundlers (Vite, Next.js, Webpack).
  • Processing streaming or batch query results with zero-copy columnar Apache Arrow tables.

When Not to Use

  • Server-Side Node.js / Python Analytics: For server-side Node.js or edge environments, use the native duckdb Node.js client (@duckdb/node-api or duckdb), not the WebAssembly browser build.
  • Transactional Row-Oriented Apps: For standard transactional user profiles or small CRUD state, standard IndexedDB or SQLite (use-telegram-serverless / @sqlite.org/sqlite-wasm) is lighter.
  • Non-Analytical Relational Storage: When you don't need columnar vector execution, OLAP aggregates, or Parquet integration.
Installs
1
GitHub Stars
2
First Seen
Oct 15, 2026