News for hackers. Stuff that matters.
Re:Kysely (the type-safe SQL query builder for TypeScript) v... by igalklebanov on Saturday May 23, 2026 @10:55AM (#48248240)
Hey

DISCLAIMER: I'm co-leading the org/project.

We recently broke 6M downloads per week on NPM, and became 3rd after `drizzle-orm` and `@prisma/client`.

If you haven't tried it yet, it's a query builder, not an ORM. You don't outsource your SQL to someone else. It's type-safe, like.. it's super important to us. You can use it with ORMs - e.g. Prisma, mikro-orm, zenstack, etc. Allows you to compose some complex stuff but keep it maintainable af.

If you have. Great seeing ya'll here.

0.29 was a real nice release, with lots of goodies. Can't wait for 0.30, gonna be super fun.

Re:Kysely (the type-safe SQL query builder for TypeScript) v... by overflowy on Saturday May 23, 2026 @11:47AM (#48248660)
How does it compare to Drizzle?
Re:Kysely (the type-safe SQL query builder for TypeScript) v... by igalklebanov on Saturday May 23, 2026 @02:09PM (#48249804)
As far as query building goes, `kysely` is more in-depth, type-safe, expressive, 1:1 and doesn't require importing as many things.

`kysely-ctl` doesn't generate migrations for you, and `kysely` not being an ORM, doesn't provide declarative schema design.

Re:Kysely (the type-safe SQL query builder for TypeScript) v... by igalklebanov on Saturday May 23, 2026 @02:10PM (#48249815)
here's a good write up on the type-safety advantages https://github.com/thetutlage/meta/discussions/8
Re:Kysely (the type-safe SQL query builder for TypeScript) v... by carlual on Monday May 25, 2026 @06:56AM (#48265460)
As the creator of ZenStack, rewriting our ORM engine for v3 with Kysely was honestly one of the best technical decisions we’ve made. The composability, type safety, and overall architecture fit our use case surprisingly well.