This section documents every module available through Cloud Code require(...).
Each page includes:
- What value the module adds in Nimbu Cloud Code.
- Minimal quick-start usage.
- API surface and aliases.
- Practical example patterns.
- Runtime caveats.
Most Used In Real Projects
Start here if you need practical patterns fast:
Nimbu Cloud Modules
| Module | Page | Typical use |
|---|---|---|
atob | atob | Decode base64 strings. |
azure/storage | azure-storage | Azure Blob signed URL generation. |
btoa | btoa | Encode base64 strings. |
crypto | crypto | Hashing, HMAC, encryption helpers. |
csv | csv | Parse CSV and generate base64 CSV exports. |
fs | fs | Read bundled Cloud Code files. |
gc | gc | Force runtime garbage collection. |
googleauth | googleauth | Fetch Google service account access tokens. |
html | html | Sanitize, strip, encode HTML. |
http | http | Outbound HTTP requests with URL safety checks. |
i18n | i18n | Translate copywriting keys in Cloud Code. |
imgkit | imgkit | Render HTML/SVG into images. |
jwt | jwt | Encode/decode JWT tokens. |
mail | Send and reply to emails. | |
mollie | mollie | Mollie payment workflow helpers. |
oauth2 | oauth2 | OAuth2 authorize URL and token helpers. |
order_helpers | order-helpers | Queue or reset order attachment processing. |
pdf | Generate PDF from HTML or URL. | |
s3 | s3 | Generate pre-signed S3 URLs/forms. |
signer | signer | XML signature generation helpers. |
site_variables | site-variables | Read site environment variables securely. |
soap | soap | SOAP client and calls via Savon bridge. |
stripe | stripe | Stripe charge helper using configured integration. |
xml | xml | Parse XML into JSON-friendly objects. |
zip | zip | Build base64 ZIP archives in memory. |
Node-Compatible Modules
| Module | Page | Typical use |
|---|---|---|
ejs | ejs | Server-side template rendering in Cloud Code. |
ejs/filters | ejs-filters | Utility filters for EJS templates. |
ejs/utils | ejs-utils | EJS escaping helper. |
handlebars | handlebars | Handlebars template rendering. |
moment | moment | Date parsing and formatting. |
lodash | lodash | Collection/object utilities. |
lodash/core | lodash-core | Smaller lodash core utilities. |
path | path | Path normalization/joining helpers. |
underscore | underscore | Functional collection utilities. |
util | util | Node utility formatting/inspection helpers. |