valtyr/prisma-kysely
🪄 Generate Kysely types directly from your Prisma schema! observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 98
- Longevity 91
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: 17
- age_days: 1278
- days_rel: 17
- days_push: 17
- n_releases_24m: 10
Adoption not part of the score
1184 stars · 43 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Prisma generator plugin that produces fully typed Kysely database types directly from your Prisma schema. It lets you keep Prisma's migration and schema workflow while writing type-safe SQL queries with Kysely instead of the Prisma Client.
Use cases
- generate kysely types from prisma schema
- use prisma migrations with kysely queries
- write type-safe raw SQL with prisma schema
- replace prisma client with kysely
- generate database types for cloudflare d1
- get typescript types for sql queries from prisma
When to choose
- you like Prisma's schema language and migration flow but find the Prisma Client too limiting
- you need multi-table joins or raw SQL performance without losing type safety
- you're targeting Cloudflare D1 or other databases where Kysely is preferred
When to avoid
- you're happy with the Prisma Client's query API
- you don't use Prisma for schema management or migrations
- you need runtime query building rather than type generation
Facets
library · maturity active
orm database sdk developer-tools databases developer-tools web-development backend cli prisma kysely codegen sql type-generation cloudflare-d1 nodejs typescript
2 sources
- readme: https://github.com/valtyr/prisma-kysely · fetched 2026-08-28 · f9a2a38ffe6b
- registry_npm: https://registry.npmjs.org/prisma-kysely · fetched 2026-08-29 · 5c5fb5a088e4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| valtyr/prisma-kysely | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="valtyr/prisma-kysely")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem