Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rocicorp/zero-sqlite3

rocicorp86.9kMIT1.0.11TypeScript support: included

better-sqlite3 on bedrock

sql, sqlite, sqlite3, transactions, user-defined functions, aggregate functions, window functions, database

readme

This is a fork of better-sqlite3 with changes needed by Zero.

So far the changes are:

  • Build the bedrock branch of SQLite to enable begin concurrent.
  • Create a shell too, so we can debug db files created
  • Supports both Node.js (20.x, 22.x, 23.x, 24.x) and Bun (>=1.1.0) runtimes

Other changes will be likely be made over time.