10 Best JavaScript MongoDB 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: Built-In
User Rating
4.7/ 5
206
Top Feedback
64Great Documentation
59Easy to Use
54Performant
GitHub Stars
23K
Weekly Downloads
2M
Last Commit
3d 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: Built-In
User Rating
4.4/ 5
74
Top Feedback
11Easy to Use
11Poor Documentation
6Performant
GitHub Stars
26K
Weekly Downloads
810K
Last Commit
1d 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: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
2Great Documentation
2Easy to Use
GitHub Stars
50
Weekly Downloads
49
Last Commit
8d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
lm

lucid-mongo

Mongodb ODM for adonis framework

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
314
Weekly Downloads
295
Last Commit
2yrs ago
Bundle Size (min+gzip)
358.0KB
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: DefinitelyTyped
User Rating
4.5/ 5
2
Top Feedback
1Great Documentation
1Highly Customizable
GitHub Stars
2K
Weekly Downloads
1K
Last Commit
2yrs ago
Bundle Size (min+gzip)
0.98KB
Not Tree-Shakeable

tyranid

Metadata Library for node.js

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

monastery-js

⛪ A straight forward MongoDB ODM built upon MonkJS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
29
Last Commit
1mo ago
Bundle Size (min+gzip)
257.0KB
Not Tree-Shakeable
no

node-orm

Object Relational Mapping

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
351
Last Commit
1mo ago
Bundle Size (min+gzip)
40.8KB
Not Tree-Shakeable

iridium

A high performance MongoDB ORM for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
570
Weekly Downloads
49
Last Commit
2mos ago
Bundle Size (min+gzip)
159.5KB
Not Tree-Shakeable
mm

mongo-models

📦 Map JavaScript classes to MongoDB collections

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
67
Weekly Downloads
299
Last Commit
1yr ago
Bundle Size (min+gzip)
6.26KB
Not Tree-Shakeable
mon

mongorito

🍹 MongoDB ODM for Node.js apps based on Redux

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

@plt4rm/odm

P4RM'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: DefinitelyTyped
TypeScript Icon
Deprecated
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
2
Last Commit
24d ago
Bundle Size (min+gzip)
999.1KB
Not Tree-Shakeable
mar

marpat

A class-based ES6 ODM for Mongo-like databases.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
17
Weekly Downloads
72
Last Commit
1yr ago
Bundle Size (min+gzip)
70.3KB
Not Tree-Shakeable
nek

nekodb

Tiny ODM for MongoDB/NeDB

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
18
Weekly Downloads
4
Last Commit
6mos ago
Bundle Size (min+gzip)
50.1KB
Not Tree-Shakeable
mon

mongolass

Elegant MongoDB driver for Node.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
427
Weekly Downloads
42
Last Commit
1yr ago
Bundle Size (min+gzip)
272.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: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
15
Weekly Downloads
28
Last Commit
5yrs ago
Bundle Size (min+gzip)
105.6KB
Not Tree-Shakeable
rm

reactive-mongodb

An ODM for MongoDB with very strict data types/stucture. It is Based on Observable (with RxJS)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
4
Weekly Downloads
0
Last Commit
4yrs ago
Bundle Size (min+gzip)
146.5KB
Not Tree-Shakeable
rc

resistdesign-cjs

A JavaScript Database Collection Manager with Context Driven Typing and Relationship Mapping.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
1
Last Commit
4yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
mm

mongo-mongo

A ES6 class based MongoDB ODM

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
4
Weekly Downloads
0
Last Commit
5yrs ago
Bundle Size (min+gzip)
110.4KB
Not Tree-Shakeable