Skip to content

Latest commit

 

History

History
49 lines (45 loc) · 2.86 KB

modules.md

File metadata and controls

49 lines (45 loc) · 2.86 KB
section description topics contentType useCase applianceId sitemap
appliance
For security reasons, rules and custom database connections for PSaaS Appliance run in a JavaScript sandbox. You can use the full power of the ECMAScript 5 language and a few selected libraries.
appliance
js-modules
sandbox
reference
appliance
appliance60
false

Node.js Modules Available in Rules and Custom Database Connections

For security reasons, you must execute rules and custom database logic for PSaaS Appliance using the Webtask stage/sandbox. The sandbox offers you a performant environment running ECMAScript 6 and provides isolation for the code you've written.

The current sandbox supports:

Module Version (If Applicable) Notes
async ~2.1.2
auth0 2.13.0 2.13.0
bcrypt ~3.0.0
Buffer
cql ~0.4.4
crypto
ip 0.3.2
jsonwebtoken ~7.1.9
knex ~0.8.6 The function returned by require('knex') is available as Knex.
lodash ~4.17.10
node-mongodb-native ~2.0.33
node-mongodb-native - BSON 0.3.2
node-mongodb-native - Double
node-mongodb-native - Long
node-mongodb-native - ObjectID
node-mongodb-native - Timestamp
mysql ~2.15.0
pbkdf2 0.0.2
pg 6.1.2
pubnub 3.7.11
q ~1.4.1
querystring 0.2.0
request ~2.81.0
uuid ~3.3.2
xml2js ~0.11.2
xmldom ~0.1.13
xpath 0.0.9
xtend ~4.0.0