Skip to main content

Custom authentication JavaScript libraries

Custom authentication JavaScript steps run in a sandboxed Node.js environment with the following preinstalled packages.

LibraryVersionDescription
atob2.1.2Base64 decoding utility for Node.js.
crypto-js4.1.1JavaScript library of crypto standards.
csv6.2.5Full-featured CSV toolset for Node.js.
date-fns2.29.3Modern JavaScript date utility library.
exponential-backoff3.1.0Retry a function with exponential delay between attempts.
firebase-admin11.4.1Firebase Admin Node.js SDK for server-side Firebase access.
jsonwebtoken9.0.0Sign and verify JSON Web Tokens.
jspdf4.2.1PDF document creation from JavaScript.
lodash4.18.1Modular JavaScript utility library.
markdown0.5.0JavaScript Markdown parser.
markdown-it14.1.1A modern, pluggable Markdown parser.
marked4.2.5Markdown parser built for speed.
mathjs11.5.0Extensive math library for JavaScript and Node.js.
moment2.29.4Parse, validate, manipulate, and display dates and times.
moment-timezone0.5.23Parse and display moments in any timezone.
node-html-parser6.1.4Fast HTML parser generating a simplified DOM with basic query support.
numbro2.3.6Format and manipulate numbers.
papaparse5.3.2Fast, powerful CSV parser; converts CSV to JSON and JSON to CSV.
pdf-creator-node2.3.5Generate PDFs from HTML templates with Node.js.
rambda7.4.0Lightweight, faster alternative to Ramda with TypeScript definitions.
uuid9.0.0RFC4122 UUIDs (v1, v4, v5).
xlsx0.20.3SheetJS spreadsheet data parser and writer.
Custom authentication via a workflow

If you implement custom authentication using a workflow instead of inline JavaScript steps, a different set of libraries is available. See Workflow JavaScript libraries.