Package Exports
- oracledb-for-lambda
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (oracledb-for-lambda) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-oracledb-for-lambda
This module is a fork of node-oracledb v1.9.3, precompiled for AWS Lambda, Node.js 4.3.
The scripts to reproduce the build process can be found at node-oracledb-lambda-test.
Usage
In addition to the usual package.json and *.js files, you also need to include the
Oracle Instant Client libraries provided under lambda-lib - they should be in your zip file's lib/ directory.
npm install --save oracledb-for-lambda
zip app.zip index.js package.js \
your-other-dependencies... \
node_modules/oracledb-for-lambda/package.json \
node_modules/oracledb-for-lambda/index.js \
node_modules/oracledb-for-lambda/lib/*.js \
node_modules/oracledb-for-lambda/build/Release/oracledb.node \
lib/*.so* \Due to the size of the Oracle libraries, you will need to deploy your zip file to S3 and get Lambda to download from the S3 URL.