Prisma adapter for Bun SQLite

JSON →
library 0.8.0 ·javascript
verified Jun 7, 2026

prisma-adapter-bun-sqlite v0.8.0 is a Prisma driver adapter for Bun's native SQLite (bun:sqlite). It requires Bun >=1.3.0 and @prisma/client ^7.0.0, ships TypeScript types, and has zero dependencies beyond Bun. It supports WAL mode, safe integers, timestamp format options (iso8601/unixepoch-ms), programmatic migrations, and is designed for single-binary deployment with `bun build --compile`. Unlike alternatives (libsql, better-sqlite3), it uses Bun's native SQLite, is fully tested with 154 tests including 39 from Prisma's official suite, and provides proper error mapping to Prisma error codes (P2002, P2003, etc.). Release cadence: active development with frequent releases.