209 Best Node.js Databases 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

mongodb

The Official MongoDB Node.js Driver

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
40
Top Feedback
great-docs
28Great Documentation
easy-to-use
25Easy to Use
performant
20Performant
GitHub Stars
Github Icon
9K
Weekly Downloads
Weekly Downloads Icon
3M
Last Commit
5d 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
12h 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
12h 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
ior

ioredis

🚀 A robust, performance-focused and full-featured Redis client for Node.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.9/ 5
8
Top Feedback
easy-to-use
4Easy to Use
great-docs
2Great Documentation
performant
1Performant
GitHub Stars
Github Icon
9K
Weekly Downloads
Weekly Downloads Icon
1M
Last Commit
13d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

redis

A high performance Node.js Redis client.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
57
Top Feedback
performant
17Performant
easy-to-use
16Easy to Use
great-docs
13Great Documentation
GitHub Stars
Github Icon
14K
Weekly Downloads
Weekly Downloads Icon
2M
Last Commit
3mo ago
Bundle Size (min+gzip)
15.1KB
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
mys

mysql2

⚡ fast mysqljs/mysql compatible mysql driver for node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
2
Top Feedback
easy-to-use
2Easy to Use
performant
2Performant
great-docs
1Great Documentation
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
699K
Last Commit
3d ago
Bundle Size (min+gzip)
248.0KB
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

@elastic/elasticsearch

Official Elasticsearch client library for Node.js

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
8
Top Feedback
great-docs
3Great Documentation
easy-to-use
3Easy to Use
performant
2Performant
GitHub Stars
Github Icon
5K
Weekly Downloads
Weekly Downloads Icon
407K
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
bs

better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
easy-to-use
1Easy to Use
performant
1Performant
poor-docs
1Poor Documentation
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
132K
Last Commit
9d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

elasticdump

Import and export tools for elasticsearch

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

node-resque

Nodejs Background jobs using redis.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
great-docs
1Great Documentation
easy-to-use
1Easy to Use
performant
1Performant
GitHub Stars
Github Icon
1K
Weekly Downloads
Weekly Downloads Icon
9K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
low

lowdb

Tiny local JSON database for small projects (supports Node, Electron and the browser)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
9
Top Feedback
great-docs
3Great Documentation
easy-to-use
2Easy to Use
GitHub Stars
Github Icon
16K
Weekly Downloads
Weekly Downloads Icon
312K
Last Commit
11d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
bod

bodybuilder

An elasticsearch query body builder đŸ’Ē

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

postgraphile

Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
4
Top Feedback
easy-to-use
3Easy to Use
performant
3Performant
great-docs
2Great Documentation
GitHub Stars
Github Icon
11K
Weekly Downloads
Weekly Downloads Icon
17K
Last Commit
2mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

sqlite3

Asynchronous, non-blocking SQLite3 bindings for Node.js

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
4
Top Feedback
great-docs
1Great Documentation
easy-to-use
1Easy to Use
performant
1Performant
GitHub Stars
Github Icon
5K
Weekly Downloads
Weekly Downloads Icon
424K
Last Commit
5mo ago
Bundle Size (min+gzip)
241.2KB
Not Tree-Shakeable
taf

taffydb

TaffyDB - an open source JavaScript Database for your browser

License Icon
License: BSD-2-Clause
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
1
Top Feedback
highly-custom
1Highly Customizable
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
717K
Last Commit
6mo ago
Bundle Size (min+gzip)
4.93KB
Not Tree-Shakeable

mysql

A pure node.js JavaScript Client implementing the MySQL protocol.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
52
Top Feedback
great-docs
6Great Documentation
easy-to-use
2Easy to Use
highly-custom
1Highly Customizable
GitHub Stars
Github Icon
17K
Weekly Downloads
Weekly Downloads Icon
700K
Last Commit
10mo ago
Bundle Size (min+gzip)
87.6KB
Not Tree-Shakeable
pos

postgres

Postgres.js - The Fastest full featured PostgreSQL client for Node.js

License Icon
License: WTFPL
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
4.0/ 5
4
Top Feedback
great-docs
3Great Documentation
easy-to-use
2Easy to Use
responsive-maintainers
1Responsive Maintainers
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
20K
Last Commit
2d ago
Bundle Size (min+gzip)
7.20KB
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

nano

Nano: The official Apache CouchDB library for Node.js

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
477
Weekly Downloads
Weekly Downloads Icon
67K
Last Commit
5mo ago
Bundle Size (min+gzip)
62.3KB
Not Tree-Shakeable

elasticsearch

Legacy Elasticsearch client library for Node.js and the browser

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
8
Top Feedback
easy-to-use
4Easy to Use
poor-docs
3Poor Documentation
performant
2Performant
GitHub Stars
Github Icon
48
Weekly Downloads
Weekly Downloads Icon
273K
Last Commit
5mo ago
Bundle Size (min+gzip)
72.6KB
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
sto

stormdb

🌩ī¸ StormDB is a tiny, lightweight, 0 dependency, easy-to-use JSON-based database for NodeJS, the browser or Electron.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
easy-to-use
2Easy to Use
performant
1Performant
GitHub Stars
Github Icon
463
Weekly Downloads
Weekly Downloads Icon
494
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
red

redlock

A node.js redlock implementation for distributed, highly-available redis locks

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
1K
Weekly Downloads
Weekly Downloads Icon
156K
Last Commit
3d ago
Bundle Size (min+gzip)
23.3KB
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

mongojs

Node.js module that implements the offical mongo api

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
5
Top Feedback
great-docs
4Great Documentation
easy-to-use
3Easy to Use
highly-custom
1Highly Customizable
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
24K
Last Commit
2y ago
Bundle Size (min+gzip)
154.6KB
Not Tree-Shakeable
njd

node-json-db

A simple "database" that use JSON file for Node.JS.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
3.0/ 5
1
Top Feedback
easy-to-use
1Easy to Use
GitHub Stars
Github Icon
349
Weekly Downloads
Weekly Downloads Icon
3K
Last Commit
2d ago
Bundle Size (min+gzip)
3.48KB
Not Tree-Shakeable

mongoist

Mongodb driver inspired by mongojs built with async/await in mind

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
1
Top Feedback
great-docs
1Great Documentation
GitHub Stars
Github Icon
281
Weekly Downloads
Weekly Downloads Icon
1K
Last Commit
9mo ago
Bundle Size (min+gzip)
145.0KB
Not Tree-Shakeable
sqb

solr-query-builder

solr query builder

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
0
Weekly Downloads
Weekly Downloads Icon
383
Last Commit
N/A
Bundle Size (min+gzip)
0.77KB
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

@cubejs-backend/postgres-driver

📊 Cube.js — Open-Source Analytical API Platform

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
11K
Weekly Downloads
Weekly Downloads Icon
7K
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
gne

generator-node-express-typescript-api

node js typescript mongodb express generator yo

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
101
Weekly Downloads
Weekly Downloads Icon
35
Last Commit
6mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
edt

elastic-dsl-typescript

Node.js ElasticSearch search query builder

License Icon
License: GPL-3.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
1
Top Feedback
great-docs
1Great Documentation
GitHub Stars
Github Icon
0
Weekly Downloads
Weekly Downloads Icon
20
Last Commit
N/A
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
msn

msnodesqlv8

branched from node-sqlserver, SQL server driver compatible with all versions of Node

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
104
Weekly Downloads
Weekly Downloads Icon
14K
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@terascope/elasticsearch-api

Scalable data processing pipelines in JavaScript

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

graphql-redis-subscriptions

A graphql subscriptions implementation using redis and apollo's graphql-subscriptions

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

pg-query-stream

PostgreSQL client 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
10K
Weekly Downloads
Weekly Downloads Icon
106K
Last Commit
1d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
cm

cache-manager

Cache module for Node.JS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
795
Weekly Downloads
Weekly Downloads Icon
564K
Last Commit
2mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
rm

redis-mock

Node.js redis client mock

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

es-alchemy

Simplification of Elasticsearch interactions

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
1
Weekly Downloads
Weekly Downloads Icon
252
Last Commit
5d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
mqu

mquery

Expressive MongoDB query builder

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
419
Weekly Downloads
Weekly Downloads Icon
1M
Last Commit
4mo ago
Bundle Size (min+gzip)
29.9KB
Not Tree-Shakeable