knex の代わりになるライブラリ

npm ORM・データベース

同じ分類でいま一番使われているのは pg(週 9,932万 回)、4週間で一番伸びているのは drizzle-orm(+53.4%)です。

同じ分類のライブラリ 1行目が knex

比較ツールで開く →
パッケージ週間DL4週比スター依存最新版の公開
knex
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, Cockroac
679万+11.8%2.0万222026-06-26
pg
PostgreSQL client - pure javascript & libpq with the same API
9,932万+35.8%1.3万132026-09-30
drizzle-orm
Drizzle ORM package for SQL databases
4,970万+53.4%3.6万02026-10-08
kysely
Type safe SQL query builder
3,043万+33.3%1.4万–2026-11-12
prisma
The Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platf
2,624万+24.7%252142026-11-06
mysql2
fast mysql driver. Implements core protocol, prepared statements, ssl and compre
2,432万+33.0%4,39092026-10-13
mongoose
Mongoose MongoDB ODM
923万+17.9%2.7万182026-11-09
typeorm
Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL,
676万+14.9%3.7万–2026-11-12
sequelize
Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLi
403万+29.5%3.0万202026-03-07
@mikro-orm/core
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map p
167万+25.5%9,270–2026-11-12

「代わり」は同じ分類に入っているライブラリです。機能や書き方は同じではないので、移る前にそれぞれの公式ドキュメントで確かめてください。