Skip to content

Repository files navigation

node-oracledb version 7.1.0-dev oracledb oracledb

This release is under development and information may be incomplete

The node-oracledb add-on for Node.js powers high performance Oracle Database applications. Applications can be written in TypeScript, or directly in JavaScript.

Use node-oracledb 7.1.0-dev to connect Node.js 14.17, or later, to Oracle Database. Older versions of node-oracledb may work with older versions of Node.js.

Node-oracledb supports basic and advanced features of Oracle Database and Oracle Client. See the homepage for a list. It is used by many JavaScript and TypeScript frameworks, SQL generators, ORMs, and libraries.

Node-oracledb has a rich feature set which is easy to use. It gives you control over SQL and PL/SQL statement execution, fast data ingestion, support for calling NoSQL-style document APIs, message queueing,database notifications and for starting and stopping the database. It also has high availability and security features. Database operations can optionally be pipelined.

The node-oracledb module is open source and maintained by Oracle Corp. It is stable, well documented, and has a comprehensive test suite.

Installation

Run npm install oracledb.

See Getting Started with Node-oracledb and Quick Start Node-oracledb Installation.

Dependencies and Interoperability

  • Node.js versions 14.17 and later.

    Pre-built packages are available on npm and other mirror repositories.

    Source code is also available.

    Previous versions of node-oracledb supported older Node.js versions.

  • Oracle Client libraries are optional starting from node-oracledb 6.0. Older versions of node-oracledb require Oracle Client libraries.

    Thin mode: By default node-oracledb (from version 6.0 onwards) runs in a 'Thin' mode which connects directly to Oracle Database.

    Thick mode: Some advanced Oracle Database functionality is currently only available when optional Oracle Client libraries are loaded by node-oracledb. Libraries are available in the free Oracle Instant Client packages. Node-oracledb can use Oracle Client libraries version 19 or later. Older node-oracledb versions supported older Client versions.

  • Oracle Database

    Thin mode: Oracle Database 12.1 (or later) is required.

    Thick mode: Oracle Database 11.2 (or later) is required, depending on the Oracle Client library version. Oracle Database's standard client-server version interoperability allows connection to both older and newer databases. For example, when node-oracledb uses Oracle Client 19c libraries, then it can connect to Oracle Database 11.2 or later.

Documentation

See Documentation for the Oracle Database Node.js Add-on and the release notes.

Examples

See the examples directory. Start with examples/example.js.

Help

Questions and issues with node-oracledb can be posted on GitHub or Slack (link to join Slack).

Tests

To run the test suite, see test/README.

Contributing

This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.

Security

Please consult the security guide for our responsible security vulnerability disclosure process.

License

Copyright (c) 2015, 2026, Oracle and/or its affiliates.

This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

If you elect to accept the software under the Apache License, Version 2.0, the following applies:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Oracle Database driver for Node.js maintained by Oracle Corporation. Connect your JavaScript and TypeScript applications instantly to Oracle Database.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2.4k stars

Watchers

165 watching

Forks

Releases

Packages

Used by

Contributors

Languages