A simple extension example with DuckDB-wasm

February 9, 2025 ยท View on GitHub

How to build/run

Build an extension (vsix) file

npx vsce package --allow-missing-repository

Then, install the vsix file and run Hello DuckDB WASM

alt text

How I made this

  1. Create scaffold VSCode extension code with npx --package yo --package generator-code -- yo code
  2. Install necessary npm packages
  3. Add TypeScript code (extension.ts/duckdb.ts)
  4. Change bundle configs
    • Contains worker and WASM files

Special Thanks