bunny-sqlite (v0.0.9) is a lightweight SQLite client for Edge Scripting on the Bunny.net CDN. It provides a simple API to execute SQL queries, manage transactions, and handle BLOBs within the bunny-launcher environment. Designed specifically for Bunny's edge computing platform, it differs from general SQLite libraries by targeting Edge Scripting's constraints (limited memory, V8-based runtime). Currently in early development (pre-1.0), with frequent releases as a fast-moving beta. Ships with TypeScript definitions.
npm install bunny-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an in-memory SQLite database, creates a table, inserts a row, queries it, and closes the connection.
Pin exact version and test upgrades; watch changelog.
Use `db.execute('QUERY', [params])` or check docs for updated API.Use only in Bunny.net edge functions; for local testing, use a mock or alternative.
For persistence, pass a path like `/db.sqlite` (inside Bunny's writable storage).
Ensure code runs in a Bunny.net edge function or use a compatible mock.
Use ESM import: `import { createConnection } from 'bunny-sqlite'`.No dependency data recorded yet.