Preparing for system design interviews?  Try bugzed.com →

Kysely Codegen

JSON →
library 0.20.0 ·javascript
verified Jun 17, 2026

Kysely Codegen is a utility that generates TypeScript type definitions, specifically the `DB` interface, directly from your database schema for use with the Kysely type-safe SQL query builder. The current stable version is 0.20.0, with frequent minor releases introducing new features, bug fixes, and expanding dialect support. It offers broad compatibility across various SQL databases including PostgreSQL, MySQL, SQLite, MSSQL, and LibSQL. Key differentiators include its declarative configuration options, custom type mapping, the ability to process introspected metadata before code generation via `postprocess()`, and the newly introduced `defineConfig()` for type-safe configuration, ensuring developers have up-to-date and accurate type information without manual schema synchronization. It is primarily used as a CLI tool during development workflows.

total hits 17
actors 5 distinct systems
last hit 12d ago AhrefsBot
GPTBot
4
Amazonbot
4
Script
1
ChatGPT-User
1
Humans
3

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany · 🇫🇷 France