kysely

v0.28.11 MIT

Type safe SQL query builder

Weekly Downloads
2.5M
Stars
13.4K
Forks
376
Open Issues
153
Gzip Size
37.3 kB
Unpacked Size
3.3 MB
Dependencies
1

Download Trends

Download trends for kysely02.2M4.3M6.5M8.6MFeb 25May 25Aug 25Nov 25Feb 26
kysely

AI Insights

Kysely is a type-safe SQL query builder designed for developers who need to construct SQL queries with confidence. By leveraging TypeScript, it helps eliminate runtime errors related to SQL syntax and data types, making database interactions safer and more efficient.

When to use

  • When building applications that require complex SQL queries with type safety.
  • When working with multiple databases such as PostgreSQL, MySQL, SQLite, or Microsoft SQL Server.
  • When developing in TypeScript and you want to enhance your database query experience.

When NOT to use

  • If your project does not involve any SQL database interactions.
  • When you require a fully-fledged ORM rather than just a query builder.
  • If type safety is not a concern for your application's database queries.

Alternatives

Categories