better-sqlite3
Fastest and simplest SQLite library for Node.js with synchronous API.
3. Used by agents' projects
Dependency in 151 public GitHub projects set up for AI coding agents that we scanned (2.4%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What better-sqlite3 does
Fastest and simplest SQLite library for Node.js with synchronous API.
better-sqlite3 popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How better-sqlite3 is used
- better-sqlite3 is a dependency in 151 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.1% of the 4,867 JavaScript/TypeScript ones), #6 of 120 in databases, orms and clients.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 470; those are left out of every share on this page.
- The most used alternative in our scan is pg (298 projects).
- Projects that use it most often also use Vitest (55.6%), tsx (45.7%), TypeScript (82.8%).
By coding agent
Often used with
More about better-sqlite3
Funding
- GitHub Sponsors: https://github.com/JoshuaWise
- Patreon: https://patreon.com/joshuawise
- Own page: https://www.paypal.me/joshuathomaswise
- 9 GitHub sponsors
More in Databases, ORMs and clients
Alternatives
better-sqlite3 This page
PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility.
TypeScript ORM for SQL databases with type safety and zero-runtime overhead.
Modern ORM with intuitive schema, migrations, and type-safe database queries.
Fast MySQL driver with native protocol implementation, prepared statements and SSL.
Asynchronous, non-blocking SQLite3 database bindings for Node.js.
Get started
Install it.
npm install better-sqlite3No step-by-step start for better-sqlite3 yet: we have not written its hand-checked card.