69 Best Node.js ORM/ODM Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

mongoose

MongoDB object modeling designed to work in an asynchronous environment.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
182
Top Feedback
great-docs
56Great Documentation
easy-to-use
53Easy to Use
performant
45Performant
GitHub Stars
Github Icon
23K
Weekly Downloads
Weekly Downloads Icon
1M
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

strapi

🚀 Open source Node.js Headless CMS to easily build customisable APIs

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
4.8/ 5
34
Top Feedback
easy-to-use
24Easy to Use
great-docs
21Great Documentation
performant
12Performant
GitHub Stars
Github Icon
38K
Weekly Downloads
Weekly Downloads Icon
44K
Last Commit
8d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

prisma

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

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
4.7/ 5
10
Top Feedback
great-docs
9Great Documentation
easy-to-use
6Easy to Use
performant
5Performant
GitHub Stars
Github Icon
15K
Weekly Downloads
Weekly Downloads Icon
190K
Last Commit
11h ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@prisma/client

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

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
11
Top Feedback
great-docs
7Great Documentation
easy-to-use
6Easy to Use
poor-docs
2Poor Documentation
GitHub Stars
Github Icon
15K
Weekly Downloads
Weekly Downloads Icon
181K
Last Commit
11h ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

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.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
4.3/ 5
64
Top Feedback
poor-docs
10Poor Documentation
easy-to-use
7Easy to Use
hard-to-use
7Hard to Use
GitHub Stars
Github Icon
25K
Weekly Downloads
Weekly Downloads Icon
675K
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

knex

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.3/ 5
20
Top Feedback
great-docs
12Great Documentation
easy-to-use
6Easy to Use
performant
6Performant
GitHub Stars
Github Icon
14K
Weekly Downloads
Weekly Downloads Icon
737K
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

sequelize

An easy-to-use multi SQL dialect ORM tool for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.3/ 5
105
Top Feedback
performant
21Performant
easy-to-use
20Easy to Use
highly-custom
12Highly Customizable
GitHub Stars
Github Icon
25K
Weekly Downloads
Weekly Downloads Icon
1M
Last Commit
22d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

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.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
4
Top Feedback
responsive-maintainers
3Responsive Maintainers
great-docs
2Great Documentation
performant
1Performant
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
3K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
der

derivejs

DeriveJS is a reactive ODM - Object Document Mapper - framework, a "wrapper" around a database, that removes all the hassle of data-persistence by handling it transparently in the background, in a DRY manner.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
2
Top Feedback
great-docs
2Great Documentation
easy-to-use
2Easy to Use
GitHub Stars
Github Icon
49
Weekly Downloads
Weekly Downloads Icon
39
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

objection

An SQL-friendly ORM for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
3.3/ 5
3
Top Feedback
great-docs
2Great Documentation
easy-to-use
2Easy to Use
highly-custom
1Highly Customizable
GitHub Stars
Github Icon
6K
Weekly Downloads
Weekly Downloads Icon
85K
Last Commit
11d ago
Bundle Size (min+gzip)
99.5KB
Not Tree-Shakeable

bookshelf

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
3.8/ 5
4
Top Feedback
N/A
GitHub Stars
Github Icon
6K
Weekly Downloads
Weekly Downloads Icon
104K
Last Commit
5mo ago
Bundle Size (min+gzip)
61.5KB
Not Tree-Shakeable
jug

jugglingdb

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
4.5/ 5
2
Top Feedback
great-docs
1Great Documentation
highly-custom
1Highly Customizable
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
998
Last Commit
2y ago
Bundle Size (min+gzip)
0.98KB
Not Tree-Shakeable

wetland

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
259
Weekly Downloads
Weekly Downloads Icon
146
Last Commit
1y ago
Bundle Size (min+gzip)
136.6KB
Not Tree-Shakeable

@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.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
20K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@mikro-orm/postgresql

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
13K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@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.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
3K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

tyranid

Metadata Library for node.js

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
6
Weekly Downloads
Weekly Downloads Icon
529
Last Commit
5d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

cormo

ORM framework for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
25
Weekly Downloads
Weekly Downloads Icon
1K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
eas

east

Node.js database migration tool

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
61
Weekly Downloads
Weekly Downloads Icon
1K
Last Commit
2mo ago
Bundle Size (min+gzip)
15.0KB
Not Tree-Shakeable
ec

express-cassandra

Cassandra ORM/ODM/OGM for Node.js with optional support for Elassandra & JanusGraph

License Icon
License: LGPL-3.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
173
Weekly Downloads
Weekly Downloads Icon
1K
Last Commit
3mo ago
Bundle Size (min+gzip)
276.6KB
Not Tree-Shakeable

waterline

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
5K
Weekly Downloads
Weekly Downloads Icon
27K
Last Commit
4mo ago
Bundle Size (min+gzip)
176.8KB
Not Tree-Shakeable
ope

openrecord

Make ORMs great again!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
478
Weekly Downloads
Weekly Downloads Icon
197
Last Commit
5mo ago
Bundle Size (min+gzip)
128.8KB
Not Tree-Shakeable
orm

orm

Object Relational Mapping

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
abandoned
1Abandoned
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
4K
Last Commit
2mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
no

node-orm

Object Relational Mapping

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
406
Last Commit
2mo ago
Bundle Size (min+gzip)
40.8KB
Not Tree-Shakeable

@plt4rm/odm

PLT4RM's ODM (Object Document Mapper) is built for NodeJS and provides transparent persistence for JavaScript objects to MongoDB database.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
TypeScript Icon
Deprecated
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
2
Weekly Downloads
Weekly Downloads Icon
28
Last Commit
7mo ago
Bundle Size (min+gzip)
999.1KB
Not Tree-Shakeable
ec

@ouato/express-cassandra

Cassandra ORM/ODM/OGM for Node.js with optional support for Elassandra & JanusGraph

License Icon
License: LGPL-3.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
173
Weekly Downloads
Weekly Downloads Icon
15
Last Commit
3mo ago
Bundle Size (min+gzip)
276.7KB
Not Tree-Shakeable
noh

nohm

node.js object relations mapper (orm) for redis

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
467
Weekly Downloads
Weekly Downloads Icon
197
Last Commit
4mo ago
Bundle Size (min+gzip)
80.4KB
Not Tree-Shakeable

@simplenodeorm/simplenodeorm

Node ORM for MySQL, Oracle and PostgreSQL

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
1
Weekly Downloads
Weekly Downloads Icon
2K
Last Commit
2y ago
Bundle Size (min+gzip)
449.4KB
Not Tree-Shakeable
ses

sessionstore

Sessionstore is a node.js module for multiple databases. It can be very useful if you work with express or connect.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
52
Weekly Downloads
Weekly Downloads Icon
1K
Last Commit
1y ago
Bundle Size (min+gzip)
2.04KB
Not Tree-Shakeable

sworm

a write-only ORM for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
130
Weekly Downloads
Weekly Downloads Icon
857
Last Commit
3y ago
Bundle Size (min+gzip)
16.9KB
Not Tree-Shakeable

iridium

A high performance MongoDB ORM for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
569
Weekly Downloads
Weekly Downloads Icon
329
Last Commit
10mo ago
Bundle Size (min+gzip)
159.5KB
Not Tree-Shakeable
eso

expo-sqlite-orm

Expo SQLite ORM

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
82
Weekly Downloads
Weekly Downloads Icon
63
Last Commit
1y ago
Bundle Size (min+gzip)
2.16KB
Not Tree-Shakeable
per

persist

Node.js ORM framework supporting MySQL and SQLite 3 relational databases.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
252
Weekly Downloads
Weekly Downloads Icon
181
Last Commit
6y ago
Bundle Size (min+gzip)
20.7KB
Not Tree-Shakeable
cam

caminte

Cross-db ORM for NodeJS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
1K
Weekly Downloads
Weekly Downloads Icon
171
Last Commit
3y ago
Bundle Size (min+gzip)
0.43KB
Not Tree-Shakeable
ns

nano-sql

Universal database layer for the client, server & mobile devices. It's like Lego for databases.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
691
Weekly Downloads
Weekly Downloads Icon
154
Last Commit
2y ago
Bundle Size (min+gzip)
32.9KB
Not Tree-Shakeable
mon

mongorito

🍹 MongoDB ODM for Node.js apps based on Redux

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
1K
Weekly Downloads
Weekly Downloads Icon
148
Last Commit
3y ago
Bundle Size (min+gzip)
145.4KB
Not Tree-Shakeable
mon

mongolass

Elegant MongoDB driver for Node.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
427
Weekly Downloads
Weekly Downloads Icon
144
Last Commit
10mo ago
Bundle Size (min+gzip)
272.7KB
Not Tree-Shakeable

anydb-sql

Minimal node ORM for mysql, postgresql and sqlite with complete arbitrary SQL query support

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
38
Weekly Downloads
Weekly Downloads Icon
124
Last Commit
3y ago
Bundle Size (min+gzip)
311.0KB
Not Tree-Shakeable

moron

An SQL-friendly ORM for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
0
Weekly Downloads
Weekly Downloads Icon
94
Last Commit
6y ago
Bundle Size (min+gzip)
131.1KB
Not Tree-Shakeable
eo

elasticsearch-odm

Like Mongoose but for Elasticsearch. Define models, preform CRUD operations, and build advanced search queries.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
72
Weekly Downloads
Weekly Downloads Icon
72
Last Commit
4y ago
Bundle Size (min+gzip)
68.6KB
Not Tree-Shakeable
enj

enju

An Elasticsearch client on Node.js written in CoffeeScript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
12
Weekly Downloads
Weekly Downloads Icon
71
Last Commit
2y ago
Bundle Size (min+gzip)
77.9KB
Not Tree-Shakeable
pgo

pgo

PostgreSQL dedicated ORM with automatic schema sync, table inheritance and much more

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
6
Weekly Downloads
Weekly Downloads Icon
64
Last Commit
1y ago
Bundle Size (min+gzip)
38.0KB
Not Tree-Shakeable

osmos-odm

A simple, strict, generic ODM for Node.js.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
52
Weekly Downloads
Weekly Downloads Icon
62
Last Commit
6y ago
Bundle Size (min+gzip)
448.6KB
Not Tree-Shakeable
hs

hapi-sequelize

Hapi plugin for the Sequelize ORM

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
112
Weekly Downloads
Weekly Downloads Icon
61
Last Commit
3y ago
Bundle Size (min+gzip)
108.7KB
Not Tree-Shakeable

mongoat

MongoDB lightweight wrapper adding hooks (pre/post), auto createdAt/updatedAt, in a native MongoDB experience

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
14
Weekly Downloads
Weekly Downloads Icon
50
Last Commit
5y ago
Bundle Size (min+gzip)
105.6KB
Not Tree-Shakeable
sma

smartdb

CouchDB library with advanced entity and cache support

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
13
Weekly Downloads
Weekly Downloads Icon
42
Last Commit
2y ago
Bundle Size (min+gzip)
202.2KB
Not Tree-Shakeable

ah-elasticsearch-orm

An Elasticsearch ORM for ActionHero Projects. Provides CRUD instance methods, finders, updates, and collection abstractions

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
3
Weekly Downloads
Weekly Downloads Icon
34
Last Commit
3y ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

vitamin

Data Mapper library for Node.js applications

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
4
Weekly Downloads
Weekly Downloads Icon
29
Last Commit
2y ago
Bundle Size (min+gzip)
37.6KB
Not Tree-Shakeable
to

thin-orm

A node.js object relational mapper for SQL databases

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
53
Weekly Downloads
Weekly Downloads Icon
28
Last Commit
8y ago
Bundle Size (min+gzip)
3.44KB
Not Tree-Shakeable
str

streamsql

A streaming, backend agnostic SQL ORM heavily inspired by levelup

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
66
Weekly Downloads
Weekly Downloads Icon
28
Last Commit
7y ago
Bundle Size (min+gzip)
21.0KB
Not Tree-Shakeable