OSS Tanbou

Drizzle ORM — keep SQL-style control while adding TypeScript type safety

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
35,840
Primary language
TypeScript
License
Apache-2.0
Repository last updated
Sep 20, 2026

Overview

Drizzle ORM is a lightweight TypeScript ORM for PostgreSQL, MySQL, and SQLite-family databases. It lets developers declare schemas in TypeScript and write SQL-like queries with static types across multiple JavaScript runtimes.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Build typed queries from TypeScript schemas

Tables and columns are declared in TypeScript and queried through SQL-like APIs that preserve input and result types.

Sources: [2][3]

Add migration and data-inspection tooling with Drizzle Kit and Studio

Drizzle Kit generates or applies schema changes, while Drizzle Studio provides a browser-based path for inspecting and editing database data.

Sources: [2][4]

Useful when teams want type safety without hiding SQL concepts

It fits TypeScript applications on Node.js, Bun, Deno, Cloudflare Workers, and related runtimes that want database access to remain close to SQL.

Sources: [2]

Choose the database driver for the target runtime

The ORM supports many environments, but actual connectivity depends on a driver appropriate to the database and runtime, such as pg, postgres, or a serverless-specific client.

Sources: [2][5]

Official sources

  1. [1]drizzle-team/drizzle-orm repository(2026-09-21)
  2. [2]Drizzle ORM README(2026-09-21)
  3. [3]Drizzle ORM documentation(2026-09-21)
  4. [4]Drizzle Kit documentation(2026-09-21)
  5. [5]drizzle-orm package(2026-09-21)
  6. [6]Drizzle ORM Apache-2.0 license(2026-09-21)
Supplemental curator note

Drizzle ORM is designed as a thin typed layer that keeps SQL concepts visible rather than hiding them behind a heavy abstraction. The current `drizzle-orm` package is 0.45.3. Connection setup depends on the target database and runtime, using drivers such as `pg`, `postgres`, `@neondatabase/serverless`, or `@libsql/client`.

Try it in 3 steps

  1. 1

    Install the ORM and a PostgreSQL driver

    This is a minimal PostgreSQL path. Replace the driver using the official guide when targeting SQLite or a serverless database.

    npm install drizzle-orm pg && npm install -D drizzle-kit @types/pg
  2. 2

    Define the schema and connection configuration in TypeScript

    Declare tables in TypeScript and configure Drizzle Kit around a DATABASE_URL.

    Create src/db/schema.ts and drizzle.config.ts
  3. 3

    Push the schema to a test database

    Apply the schema to a test database, then run SELECT or INSERT operations through Drizzle ORM to inspect typed queries.

    npx drizzle-kit push
Check the official README

Growth

Growth trends · Last 30 days

35,840 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
4
Open PRs
658

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • typescript
  • orm
  • postgresql
  • mysql
  • sql
  • sqlite
  • bunjs
  • nodejs
  • postgres
  • turso
Stars
35,840
Forks
1,639
Watchers
93
Open issues
1,384
Contributors
124
Primary language
TypeScript
License
Apache-2.0
Repository last updated
Sep 20, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.