Custom authentication JavaScript libraries
Reference list of JavaScript libraries available in Retool custom authentication JavaScript steps.
Custom authentication JavaScript steps run in a sandboxed Node.js environment with the following preinstalled packages.
| Library | Version | Description |
|---|---|---|
| atob | 2.1.2 | Base64 decoding utility for Node.js. |
| crypto-js | 4.1.1 | JavaScript library of crypto standards. |
| csv | 6.2.5 | Full-featured CSV toolset for Node.js. |
| date-fns | 2.29.3 | Modern JavaScript date utility library. |
| exponential-backoff | 3.1.0 | Retry a function with exponential delay between attempts. |
| firebase-admin | 11.4.1 | Firebase Admin Node.js SDK for server-side Firebase access. |
| jsonwebtoken | 9.0.0 | Sign and verify JSON Web Tokens. |
| jspdf | 4.2.1 | PDF document creation from JavaScript. |
| lodash | 4.18.1 | Modular JavaScript utility library. |
| markdown | 0.5.0 | JavaScript Markdown parser. |
| markdown-it | 14.1.1 | A modern, pluggable Markdown parser. |
| marked | 4.2.5 | Markdown parser built for speed. |
| mathjs | 11.5.0 | Extensive math library for JavaScript and Node.js. |
| moment | 2.29.4 | Parse, validate, manipulate, and display dates and times. |
| moment-timezone | 0.5.23 | Parse and display moments in any timezone. |
| node-html-parser | 6.1.4 | Fast HTML parser generating a simplified DOM with basic query support. |
| numbro | 2.3.6 | Format and manipulate numbers. |
| papaparse | 5.3.2 | Fast, powerful CSV parser; converts CSV to JSON and JSON to CSV. |
| pdf-creator-node | 2.3.5 | Generate PDFs from HTML templates with Node.js. |
| rambda | 7.4.0 | Lightweight, faster alternative to Ramda with TypeScript definitions. |
| uuid | 9.0.0 | RFC4122 UUIDs (v1, v4, v5). |
| xlsx | 0.20.3 | SheetJS spreadsheet data parser and writer. |
If you implement custom authentication using a workflow instead of inline JavaScript steps, a different set of libraries is available. See Workflow JavaScript libraries.