{"library":"oracle","title":"Legacy Oracle Database Driver (node-oracle)","description":"The `oracle` package provides an obsolete Node.js driver for Oracle databases. It reached version 0.4.1 before being officially abandoned by its maintainer. This driver is not actively developed, receives no updates, and is not recommended for new projects or existing applications. The project explicitly states it is no longer maintained and directs users to the official `node-oracledb` package, developed and supported by Oracle, as its direct and modern replacement. There is no defined release cadence, and its key differentiator is its historical role as an early community-contributed Oracle driver before Oracle released its own official solution.","language":"javascript","status":"abandoned","last_verified":"Wed Apr 22","install":{"commands":["npm install oracle"],"cli":null},"imports":["const oracle = require('oracle');","const oracle = require('oracle'); oracle.connect( /* ... */ );","const oracle = require('oracle'); const pool = new oracle.Pool( /* ... */ );"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"/*\nThis quickstart is intentionally left blank.\n\nThe `oracle` package is abandoned and not maintained.\nIt is strongly advised against using this package in any project.\n\nPlease use the officially supported `oracledb` package instead:\n\nnpm install oracledb\n\nRefer to the `node-oracledb` documentation for its quickstart:\nhttps://github.com/oracle/node-oracledb\n*/\n\n// Placeholder to fulfill quickstart requirements, do NOT run this code.\n// It is likely to fail with modern Node.js versions or require specific Oracle client setups.\n// const oracle = require('oracle');\n// oracle.connect(\n//   { hostname: 'localhost', port: 1521, database: 'ORCL', user: 'hr', password: 'hr' },\n//   function (err, connection) {\n//     if (err) {\n//       console.error(\"Error connecting to Oracle database:\", err);\n//       return;\n//     }\n//     console.log(\"Successfully connected to Oracle!\");\n//     connection.execute(\"SELECT 'Hello World' FROM DUAL\", [], function (err, results) {\n//       if (err) {\n//         console.error(\"Error executing query:\", err);\n//       }\n//       console.log(\"Query result:\", results);\n//       connection.close();\n//     });\n//   }\n// );","lang":"javascript","description":"This quickstart explicitly states the package is abandoned and directs users to the recommended `node-oracledb` package for any Oracle database interaction.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}