Skip to content
JS
Comparison

kysely vs typeorm

ORMs and query buildersPackage data 25 Sept 2026
kyselyv0.29.6, 16 Sept 2026

Type safe SQL query builder

$ npm install kysely
typeormv1.1.1, 1 Sept 2026

Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

$ npm install typeorm
MetrickyselytypeormDifference
Weekly downloads12,012,5683,557,322kysely 3.4x higher
12-month download growth+1153%+55%kysely +1098 pts
Gzip size---
Minified size---
Dependencies010typeorm 10 more
Unpacked size1.6 MB20.7 MBkysely 12.5x smaller
Latest release0.29.6, 16 Sept 20261.1.1, 1 Sept 2026kysely 15 days more recent
Releases, last 12 months177kysely 10 more
First published18 Feb 202119 Apr 2016typeorm 4.8 years earlier
GitHub stars14,24336,658typeorm 2.6x higher
Open issues140450typeorm 310 more
Open pull requests36221typeorm 185 more
Contributors---
Commits, last 52 weeks290476typeorm 1.6x higher
TypeScript typesNoneBundledDiffers
Module formatESM onlyESM + CommonJSDiffers
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

kysely12m latest weektypeorm3.6m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

kysely

Major versions
  1. 0.1.018 Feb 2021
Last 5 releases
  1. 0.29.616 Sept 2026
  2. 0.29.510 Aug 2026
  3. 0.29.417 Jul 2026
  4. 0.29.35 Jul 2026
  5. 0.29.216 May 2026
185 releases in total, 17 in the last 12 months

typeorm

Major versions
  1. 0.0.119 Apr 2016
  2. 1.0.019 May 2026
Last 5 releases
  1. 1.1.11 Sept 2026
  2. 0.3.3113 Jul 2026
  3. 1.1.013 Jul 2026
  4. 1.0.019 May 2026
  5. 0.3.3018 May 2026
114 releases in total, 7 in the last 12 months
kysely

-

typeorm

-

kysely

-

typeorm

-

  • Need no runtime dependencieskysely (kysely has 0, typeorm has 10)
  • Need both ESM and CommonJS entry pointstypeorm (kysely: ESM only; typeorm: ESM + CommonJS)
  • Need to load it with require()typeorm
  • Need TypeScript types in the package itselftypeorm (kysely: None; typeorm: Bundled)
  • Node.js version requirementkysely: >=22.0.0; typeorm: ^20.19.0 || ^22.13.0 || >=24.11.0 (engines field in package.json)
  • Need the more recent releasekysely (0.29.6 on 16 Sept 2026 vs 1.1.1 on 1 Sept 2026)
  • Higher weekly npm downloadskysely (12m vs 3.6m)

Each line is generated from the data above.

Indexability: Indexed.