Node database drivers

Oct 31, 2020listsnodelibraries

A database driver is a computer program that implements a protocol (ODBC or JDBC) for a database connection. The driver works like an adaptor which connects a generic interface to a specific database vendor implementation. Following libraries are official native drivers implemented in Node.js.

Editor's Picks

image

node-postgres

node-postgres is a collection of node.js modules for interfacing with your PostgreSQL database. It has support for callbacks, promises, async/await, connection pooling, prepared statements, cursors, streaming results, C/C++ bindings, rich type parsing, and more.
image

ioredis

A robust, performance-focused and full-featured Redis client for Node.js. It supports Cluster, Sentinel, Streams, Pipelining and of course Lua scripting & Pub/Sub.
image

mysql

A pure node.js JavaScript Client implementing the MySQL protocol, fully supported features and very popular.
image

node-mongodb-native

The official MongoDB driver for Node.js. Provides a high-level API on top of mongodb-core that is meant for end users.
image

couchnode

The Node.js SDK library allows you to connect to a Couchbase cluster from Node.js. It is a native Node.js module and uses the very fast libcouchbase library to handle communicating to the cluster over the Couchbase binary protocol.