10 Best Node.js MySQL ORM Libraries

List hand-picked by Openbase Experts
Learn More

sequelize

sequelize

Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
27.1K
Weekly Downloads
1.3M
Last Commit
9mos ago
User Rating
4.3/ 5
209
Top Feedback
23Easy to Use
23Performant
15Great Documentation
prisma

prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
27.4K
Weekly Downloads
731K
Last Commit
9mos ago
User Rating
4.8/ 5
14
Top Feedback
11Great Documentation
8Easy to Use
6Performant
@prisma/client

@prisma/client

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
27.4K
Weekly Downloads
691K
Last Commit
9mos ago
User Rating
4.7/ 5
12
Top Feedback
7Great Documentation
7Easy to Use
2Poor Documentation
@mikro-orm/core

@mikro-orm/core

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
5.4K
Weekly Downloads
106K
Last Commit
9mos ago
User Rating
5.0/ 5
1
Top Feedback
typeorm

typeorm

ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
29.9K
Weekly Downloads
1.1M
Last Commit
9mos ago
User Rating
4.4/ 5
147
Top Feedback
13Easy to Use
13Poor Documentation
9Performant
mikro-orm

mikro-orm

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
5.4K
Weekly Downloads
75.4K
Last Commit
9mos ago
User Rating
5.0/ 5
4
Top Feedback
3Responsive Maintainers
2Great Documentation
1Performant
knex

knex

A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
16.5K
Weekly Downloads
1.1M
Last Commit
9mos ago
User Rating
4.2/ 5
35
Top Feedback
19Great Documentation
14Easy to Use
13Performant
objection

objection

An SQL-friendly ORM for Node.js

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
6.7K
Weekly Downloads
114K
Last Commit
9mos ago
User Rating
3.3/ 5
3
Top Feedback
3Great Documentation
2Easy to Use
1Performant
bookshelf

bookshelf

A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
6.3K
Weekly Downloads
74.5K
Last Commit
2yrs ago
User Rating
3.8/ 5
4
Top Feedback
jug

jugglingdb

Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2.1K
Weekly Downloads
1.7K
Last Commit
4yrs ago
User Rating
4.5/ 5
2
Top Feedback
1Great Documentation
1Highly Customizable
wetland

wetland

A Node.js ORM, mapping-based. Works with MySQL, PostgreSQL, SQLite and more.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
260
Weekly Downloads
35
Last Commit
2yrs ago
User Rating
5.0/ 5
1
Top Feedback
@mikro-orm/mysql

@mikro-orm/mysql

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
5.4K
Weekly Downloads
47K
Last Commit
9mos ago
waterline

waterline

An adapter-based ORM for Node.js with support for mysql, mongo, postgres, mssql (SQL Server), and more

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
5.4K
Weekly Downloads
35.5K
Last Commit
1yr ago
orm

orm

Object Relational Mapping

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3.1K
Weekly Downloads
737
Last Commit
9mos ago
hs

hapi-sequelize

Hapi plugin for the Sequelize ORM

MIT
TypeScript Icon
TypeScript Definitions: Not Found
TypeScript Icon
Deprecated
GitHub Stars
113
Weekly Downloads
60
Last Commit
4yrs ago