DatabasesToolkit
Kysely
A type-safe SQL query builder for TypeScript.
kyselyTypeScript / JavaScript
Overview
Build SQL with types derived from your database interface, choosing a dialect and driver for the database you run.
Best for
Teams that want explicit SQL control with compile-time query types.
Install
TypeScript / JavaScriptnpm install kyselyListed providers
4 listed- PostgreSQL
- MySQL
- Microsoft SQL Server
- SQLite
A toolkit’s listed integrations describe its scope; they do not imply a unified API or feature parity.
Features
- Typed SQL queries
- Database dialects
- Migration utilities
- Plugin system
Caveats
- Requires a database driver and accurate schema types.
- It is a query builder, not a hosted database service.
- Current documentation requires TypeScript 5.4+ and strict mode.
Sources & verification
- kysely.dev/docs/getting-started (opens in a new tab)
- raw.githubusercontent.com/kysely-org/kysely/master/README.md (opens in a new tab)
- raw.githubusercontent.com/kysely-org/kysely/master/LICENSE (opens in a new tab)
Sources reviewed