Adding Node.js Dependencies

The Node.js collection of open source libraries, Node Package Manager (NPM), helps you connect to other applications and technologies like databases, SaaS apps, Websocket servers, and many more. You can use the libraries whitelisted by TIBCO in your TIBCO Cloud™ Integration Node.js apps.

To include a library or module in your app, add the module to your package.json file, by running the following command in the folder where your package.json file is located:

$ npm install --save <package name>
Note: TIBCO reserves the right to upgrade to a newer version of any Node Package Manager (NPM) module, to add modules to the whitelist, or remove modules from the whitelist if they pose an issue to TIBCO Cloud™ Integration.
Important: Third-party libraries are maintained by their respective open source teams and are under separate licenses. If there is a defect in a particular version of a whitelisted library, TIBCO can upgrade to a higher version if the owners of that library have released a fix for the defect.

Third-party Node.js libraries included in an app, but not present in the whitelist, are not available during runtime and the app may not work.

The following table lists Node.js libraries that are whitelisted for use with Node.js apps in TIBCO Cloud™ Integration. For correct usage information, see relevant documentation at npmjs.com for the third-party libraries in this list.

Library Version
@grpc/grpc-js 1.2.12
async 2.1.5
bluebird 3.5.0
body-parser 1.15.0
compression 1.6.2
cors 2.8.1
dotenv 8.2.0
express 4.0.0
firebase-admin 9.6.0
googleapis 71.0.0
jsdom 9.11.0
jsforce 1.10.1
jsonwebtoken 7.3.0
lodash 4.0.0
log4js 0.6.22
moment 2.17.1
q 1.4.1
swaggerize-express 4.0.0
swagmock 0.0.2
uuid 3.0.1
validator 7.0.0
xml2js 0.4.17
ws 2.2.0

Next

Running a Node.js App Locally