Hysen Labs
Open-source project
drizzle-team/drizzle-orm avatar
drizzle-team

drizzle-orm

ORM

35,491 stars1,529 forksTypeScriptApache-2.0
01
DEEP OPEN-SOURCE ANALYSIS

Drizzle ORM stays a thin layer over SQL

About 7.4kb minified and gzipped, with zero dependencies, Drizzle is a headless TypeScript ORM that claims to cover every PostgreSQL, MySQL, and SQLite database, serverless ones included.

02
DEEP OPEN-SOURCE ANALYSIS

A headless ORM, in its own words

Drizzle calls itself a modern TypeScript ORM that developers want in their next project. It is lightweight at roughly 7.4kb minified and gzipped, tree shakeable, and carries exactly zero dependencies. The headless part means it does not impose an architecture on you; the README keeps describing it as a thin layer over SQL rather than a framework.

03
DEEP OPEN-SOURCE ANALYSIS

Which databases it covers

The README claims support for every PostgreSQL, MySQL, and SQLite database, listing serverless names like Turso, Neon, Xata, PlanetScale, Cloudflare D1, FlyIO LiteFS, Vercel Postgres, Supabase, and AWS Data API. It promises no bells and whistles, no Rust binaries, and no serverless adapters, with everything working out of the box.

04
DEEP OPEN-SOURCE ANALYSIS

Serverless and runtime claims

Drizzle is positioned as serverless ready by design. The README says it runs in every major JavaScript runtime, from NodeJS, Bun, and Deno to Cloudflare Workers, Supabase functions, any Edge runtime, and even browsers. The pitch is that you are fast out of the box and save time and costs without ever introducing data proxies into your infrastructure.

05
DEEP OPEN-SOURCE ANALYSIS

The toolkit around it

While the library itself is TypeScript first, the surrounding tools get their own section. Drizzle Kit is a CLI companion for migrations that can generate SQL migration files or apply schema changes directly to the database. Drizzle Studio is meant for browsing and manipulating data in your database of choice. Together they make up what the README calls the developer experience layer.

06
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The README frames Drizzle as a thin typed layer on top of SQL, backed by the Drizzle Kit CLI for migrations and Drizzle Studio for browsing data. These are the project's own claims, and nothing here tests how the library runs.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes