drizzle-orm

Installation
Summary

Type-safe SQL ORM for TypeScript with zero runtime overhead and edge-runtime optimization.

  • Supports PostgreSQL, MySQL, and SQLite with compile-time type inference from schema definitions; no code generation required
  • Includes relational queries, transactions, filtering, joins, pagination, and aggregation with SQL-like syntax
  • Drizzle Kit provides schema migrations, introspection, and a built-in database GUI (Drizzle Studio)
  • Significantly smaller bundle size (~35KB vs ~230KB) and faster cold starts (~10ms vs ~250ms) compared to Prisma, making it ideal for serverless and edge deployments
SKILL.md

Drizzle ORM

Modern TypeScript-first ORM with zero dependencies, compile-time type safety, and SQL-like syntax. Optimized for edge runtimes and serverless environments.

Quick Start

Installation

# Core ORM
npm install drizzle-orm

# Database driver (choose one)
npm install pg            # PostgreSQL
npm install mysql2        # MySQL
npm install better-sqlite3 # SQLite

# Drizzle Kit (migrations)
npm install -D drizzle-kit
Related skills
Installs
4.2K
GitHub Stars
43
First Seen
Jan 23, 2026