kysely-org/kysely
A type-safe TypeScript SQL query builder observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 13
- age_days: 2018
- days_rel: 24
- days_push: 7
- n_releases_24m: 26
Adoption not part of the score
14168 stars · 435 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Kysely is a type-safe, autocompletion-friendly SQL query builder for TypeScript, inspired by Knex. It supports PostgreSQL, MySQL, MSSQL, and SQLite, and runs on Node.js, Deno, Bun, workers, and browsers with zero runtime dependencies.
Use cases
- build type-safe SQL queries in TypeScript
- catch invalid table and column references at compile time
- compose reusable query fragments, subqueries, and CTEs
- query PostgreSQL, MySQL, SQLite, or MSSQL from Node.js
- get autocompletion for table and column names
- migrate queries safely when the database schema changes
When to choose
- you want compile-time safety for SQL without a full ORM
- your team uses TypeScript with strict mode and values precise result types
- you need a lightweight query builder with zero runtime dependencies
- you want Knex-like ergonomics with much stronger typing
When to avoid
- you need a full ORM with relations DSL, migrations, and entity management out of the box
- your project is plain JavaScript without TypeScript
- you prefer writing raw SQL strings exclusively
Facets
library · maturity stable
database orm developer-tools databases web-development backend developer-tools bun browser cross-platform sql-query-builder type-safe query-builder postgresql mysql sqlite mssql knex-inspired nodejs deno typescript
4 sources
- readme: https://github.com/kysely-org/kysely · fetched 2026-08-28 · 1c4c0ba6daa8
- homepage: https://kysely.dev · fetched 2026-08-29 · 5efaa8aefc7e
- site_page: https://kysely.dev/docs/intro · fetched 2026-08-29 · 9c4d1ac5416d
- site_page: https://kysely.dev/docs/getting-started · fetched 2026-08-29 · dba4c8c4afa7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kysely-org/kysely | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="kysely-org/kysely")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem