Cloud Code supports all modules configured by the runtime loader.
Use this page as the catalog. Open Module Reference for practical, module-by-module details.
How Modules Are Loaded
js
const HTTP = require('http');
const Mail = require('mail');
const _ = require('underscore');Module IDs are case-insensitive and .js extension is optional.
Start Here (Most Used Patterns)
- http for external API calls.
- mail for transactional email.
- mollie for payment checkout flows.
- crypto and jwt for signing/token work.
- csv, pdf, zip for exports.
Nimbu Cloud Modules
| Module ID | Detailed docs |
|---|---|
atob | atob |
azure/storage | azure/storage |
btoa | btoa |
crypto | crypto |
csv | csv |
fs | fs |
gc | gc |
googleauth | googleauth |
html | html |
http | http |
i18n | i18n |
imgkit | imgkit |
jwt | jwt |
mail | |
mollie | mollie |
oauth2 | oauth2 |
order_helpers | order_helpers |
pdf | |
s3 | s3 |
signer | signer |
site_variables | site_variables |
soap | soap |
stripe | stripe |
xml | xml |
zip | zip |
Node-Compatible Modules
| Module ID | Detailed docs |
|---|---|
ejs | ejs |
ejs/filters | ejs/filters |
ejs/utils | ejs/utils |
handlebars | handlebars |
moment | moment |
lodash | lodash |
lodash/core | lodash/core |
path | path |
underscore | underscore |
util | util |
Runtime Caveats
- Cloud modules wrap runtime exceptions and rethrow with stored Cloud Code error messages.
- Some modules return safe fallbacks (
'',null,{ error }) instead of throwing on invalid input. - Prefer
Nimbu.Site.envfor secrets instead of hardcoded keys.