Kysely
Type-safe SQL query builder for TypeScript with compile-time query validation.
3. Used by agents' projects
Dependency in 21 public GitHub projects set up for AI coding agents that we scanned (0.3%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
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
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
Often used with
More about Kysely
More in Databases, ORMs and clients
Alternatives
Kysely This page
TypeScript ORM for SQL databases with type safety and zero-runtime overhead.
Modern ORM with intuitive schema, migrations, and type-safe database queries.
TypeScript/JavaScript driver for libSQL databases with modern async/await support.
Fast MySQL driver with native protocol implementation, prepared statements and SSL.
Asynchronous, non-blocking SQLite3 database bindings for Node.js.
Get started
Install it.
npm install kyselyNo step-by-step start for Kysely yet: we have not written its hand-checked card.