
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
oracle-gopher
Advanced tools
Boilerplate Node.js middleware that facilitates connections and transactions with Oracle databases.
Boilerplate Node.js middleware that facilitates connections and transactions with Oracle databases.
Download the following TWO Oracle Instant Client Packages (here: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html ). Please make sure to download the correct packages for your system architecture (i.e. 64 bit vs 32 bit)
Instant Client Package - Basic or Basic Lite: Contains files required to run OCI, OCCI, and JDBC-OCI applications
Instant Client Package - SDK: Contains additional header files and an example makefile for developing Oracle applications with Instant Client
From a terminal window:
unzip instantclient-basic-macos.x64-11.2.0.4.0.zip -d /oracle
unzip instantclient-sdk-macos.x64-11.2.0.3.0.zip -d /oracle
##### Oracle Instant Client 11.2 #####
OCI_HOME=/oracle/instantclient_11_2
OCI_LIB_DIR=$OCI_HOME
OCI_INC_DIR=$OCI_HOME/sdk/include
OCI_INCLUDE_DIR=$OCI_HOME/sdk/include
OCI_VERSION=11
DYLD_LIBRARY_PATH=$OCI_LIB_DIR
cd /oracle/instantclient_11_2
ln -s libclntsh.dylib.11.1 libclntsh.dylib
ln -s libocci.dylib.11.1 libocci.dylib
npm install oracle-gopher
var Gopher = require('oracle-gopher');
var pouch = {
user : "A_Valid_Username", //mandatory
password : "A_Valid_Password", //mandatory
connectString : "localhost:1521/ORCL", //mandatory
dbStatement : "SELECT dummy FROM DUAL WHERE dummy = :DUMMYVALUE", //manditory
outputFormat : "array", //not mandatory. if not explicitly set, will default to json (the only other value permitted)
maxRowsReturned : 1, //not mandatory. if not explicitly set, default is set to return up to 2000 rows
bindVariables : {DUMMYVALUE : "X"} // not mandatory. only when setting bind variables in dbStatement
};
var gopher = new Gopher(pouch);
gopher.tunnel(
function(err,result){
if (err) {
return console.log(err);
}
return console.log(result);
}
);
FAQs
Boilerplate Node.js middleware that facilitates connections and transactions with Oracle databases.
The npm package oracle-gopher receives a total of 18 weekly downloads. As such, oracle-gopher popularity was classified as not popular.
We found that oracle-gopher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.