Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Kysely

Type-safe SQL query builder for TypeScript with compile-time query validation.

Databases, ORMs and clientsNPM

GitHubWebsite

1. License

License from npm.

github.com/kysely-org/kysely

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Kysely does

Type-safe SQL query builder for TypeScript with compile-time query validation.

Kysely popularity

68 / 100
Gid Score, #472 overall
32M
downloads a week, npm
14.4K
GitHub stars
21
agent projects use it
Kysely: downloads per weeknpm, kysely 32,025,268
Kysely: GitHub starskysely-org/kysely 14,382

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Kysely is used

  • Kysely is a dependency in 21 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.4% of the 4,867 JavaScript/TypeScript ones), #27 of 120 in databases, orms and clients.
  • The most used alternative in our scan is Drizzle ORM (253 projects).
  • Projects that use it most often also use tsx (66.7%), jsdom (57.1%), JSZip (52.4%).

By coding agent

15 projects, 0.5%
10 projects, 0.3%
8 projects, 2.4%

Often used with

In 66.7% of its projects
In 57.1% of its projects
In 52.4% of its projects
In 52.4% of its projects
In 71.4% of its projects
In 47.6% of its projects
In 47.6% of its projects
In 61.9% of its projects

More about Kysely

More in Databases, ORMs and clients

Alternatives

Kysely This page

MITGid 6832M/wk

Drizzle ORM

TypeScript ORM for SQL databases with type safety and zero-runtime overhead.

Apache-2.0Gid 8649.6M/wk

Prisma

Modern ORM with intuitive schema, migrations, and type-safe database queries.

Apache-2.0Gid 6426M/wk

libSQL Client

TypeScript/JavaScript driver for libSQL databases with modern async/await support.

MITGid 556.1M/wk

mysql2

Fast MySQL driver with native protocol implementation, prepared statements and SSL.

MITGid 6625.6M/wk

sqlite3

Asynchronous, non-blocking SQLite3 database bindings for Node.js.

BSD-3-ClauseGid 582.9M/wk

Compare Kysely with another tool

Get started

Install it.

npm install kysely

No step-by-step start for Kysely yet: we have not written its hand-checked card.