sql-workbench-embedded
JSON →Lightweight JavaScript library (v0.1.5, MIT) that transforms static HTML SQL code blocks into interactive, browser-based SQL execution environments using DuckDB WASM. All SQL runs client-side—no backend needed. Key differentiators: zero-config auto-init via CSS class, lazy-loaded DuckDB, framework-agnostic (vanilla JS, React, Vue), privacy-first (no external data transmission), custom theming, and init queries for DuckDB extensions. Gzipped bundle is ~9.5 kB. Built with TypeScript, ships types. Compatible with modern browsers supporting WebAssembly.
Resources
packagesql-workbench-embedded ↗
API endpoints
full doc /v1/registry/sql-workbench-embedded