Drizzle ORM
TypeScript ORM for SQL databases with type safety and zero-runtime overhead.
Databases, ORMs and clients npm Apache-2.0
Used in agent projects
323
2.5% of 12,697 public repos built with AI coding agents
Rank in databases, orms and clients
#3 of 30
by use in those projects
Downloads
27.2M
npm, last 7 days, drizzle-orm
GitHub stars
36K
last push Oct 9, 2026
How Drizzle ORM is used
Drizzle ORM is a dependency in 323 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (2.5%), #3 of 30 in databases, orms and clients. The most used alternative there is Prisma. Projects that use it most often also use Drizzle Kit (93.8%), Zod (74.3%), Class Variance Authority (59.8%). It is more common in projects set up for OpenCode (8.1%) than for GitHub Copilot (3.8%).
Often used with Drizzle ORM
| Drizzle Kit | 93.8% of Drizzle ORM projects · 38.5× more than average |
|---|---|
| Zod | 74.3% of Drizzle ORM projects · 4.4× more than average |
| Class Variance Authority | 59.8% of Drizzle ORM projects · 4.2× more than average |
| Tailwind Merge | 62.8% of Drizzle ORM projects · 3.7× more than average |
| clsx | 63.2% of Drizzle ORM projects · 3.6× more than average |
| tsx | 53.3% of Drizzle ORM projects · 5.4× more than average |
| Radix UI | 50.2% of Drizzle ORM projects · 4.2× more than average |
| Lucide React | 61.3% of Drizzle ORM projects · 3.1× more than average |
By coding agent
| Claude Code | 4.6% of projects set up for it |
|---|---|
| GitHub Copilot | 3.8% of projects set up for it |
| Cursor | 4.6% of projects set up for it |
| OpenCode | 8.1% of projects set up for it |
| OpenAI Codex | 4.5% of projects set up for it |
| Gemini CLI | 3.9% of projects set up for it |
| Devin Desktop | 4.7% of projects set up for it |
| Roo Code | 5.3% of projects set up for it |
Share of public repos configured for each agent that list Drizzle ORM as a dependency.
Install
| Package | npm install drizzle-orm |
|---|---|
| Main stacks | TypeScript / JavaScript (164), Next.js (148), Python (8), React Native / Expo (2) |
| Example projects | ding113/claude-code-hub, wesbos/wesbos, nuxt/nuxt.com, inboundemail/inbound, Cap-go/capgo.app |
Alternatives to Drizzle ORM
| 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 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 |
| Neon Serverless Driver npm PostgreSQL driver optimized for serverless environments from Neon. |
126 (1.0%) | 4.5M | 552 | MIT |