Node.js Modules Available in Rules

Rules run in a JavaScript sandbox. The sandbox supports the ECMAScript 5 language and the following Node.js modules and libraries:

Module Version
async ~2.1.2
auth0 2.13.0a
azure_storage ~0.9.0
bcrypt ~3.0.0
Buffer
cql ~0.4.4
crypto
ip 0.3.2
jwt ~7.1.9
knex ~0.8.6
lodash ~4.17.10
mongodb ~2.0.33
BSON (mongodb) 0.3.2
Double (mongodb)
Long (mongodb)
ObjectID (mongodb)
Timestamp (mongodb)
mysql ~2.15.0
pbkdf2 0.1.1
pg 6.1.2
pubnub 3.7.11
q ~1.1.1
querystring 0.2.0
request ~2.81.0
uuid ~3.3.2
xml2js ~0.4.8
xmldom ~0.1.19
xpath 0.0.9
xtend ~4.0.0