sqlite3
Asynchronous, non-blocking SQLite3 database bindings for Node.js.
Databases, ORMs and clients npm BSD-3-Clause
Used in agent projects
44
0.3% of 12,697 public repos built with AI coding agents
Rank in databases, orms and clients
#18 of 30
by use in those projects
Downloads
2.5M
npm, last 7 days, sqlite3
GitHub stars
6,410
last push Jun 27, 2026
How sqlite3 is used
sqlite3 is a dependency in 44 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #18 of 30 in databases, orms and clients. The most used alternative there is Prisma. Projects that use it most often also use Express (52.3%), dotenv (54.5%), Axios (38.6%).
Often used with sqlite3
| Express | 52.3% of sqlite3 projects · 8.1× more than average |
|---|---|
| dotenv | 54.5% of sqlite3 projects · 3.5× more than average |
| Axios | 38.6% of sqlite3 projects · 3.9× more than average |
| ts-node | 36.4% of sqlite3 projects · 5.3× more than average |
| cors | 34.1% of sqlite3 projects · 10.3× more than average |
| pg | 29.5% of sqlite3 projects · 10.1× more than average |
| jsonwebtoken | 25.0% of sqlite3 projects · 13.2× more than average |
| ws | 25.0% of sqlite3 projects · 11.1× more than average |
By coding agent
| Claude Code | 0.5% of projects set up for it |
|---|---|
| GitHub Copilot | 0.4% of projects set up for it |
| Cursor | 0.4% of projects set up for it |
Share of public repos configured for each agent that list sqlite3 as a dependency.
Install
| Package | npm install sqlite3 |
|---|---|
| Main stacks | TypeScript / JavaScript (31), Next.js (9), Python (3), Other (1) |
| Example projects | 5pyj29s7cm-tech/LumiCore, cin12211/orca-q, masharratt/claude-flow-novice, OscillatorInc/osc-identity, bybren-llc/a-safe-pulse |
Alternatives to sqlite3
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Prisma npm Modern ORM with intuitive schema, migrations, and type-safe database queries. |
381 (3.0%) | 19M | 23 | Apache-2.0 |
| pg npm PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility. |
372 (2.9%) | 63.4M | 13.2K | MIT |
| Drizzle ORM npm TypeScript ORM for SQL databases with type safety and zero-runtime overhead. |
323 (2.5%) | 27.2M | 36K | Apache-2.0 |
| Drizzle Kit npm CLI migration tool for Drizzle ORM that auto-generates SQL migrations intelligently. |
309 (2.4%) | 22.3M | 36K | MIT |
| SQLAlchemy pypi Python SQL toolkit and object-relational mapper for database abstraction. |
250 (2.0%) | 85.7M | 12.2K | — |
| better-sqlite3 npm Fastest and simplest SQLite library for Node.js with synchronous API. |
162 (1.3%) | 11.3M | 7,513 | MIT |
| psycopg2 pypi Popular PostgreSQL adapter for Python with full database access and query execution. |
143 (1.1%) | 50.7M | 3,656 | LGPL with exceptions |
| Mongoose npm MongoDB object modeling library providing schema validation and query building. |
142 (1.1%) | 6.6M | 27.5K | MIT |