Skip to main content
The supported Node.js version is 20.19.4
JavaScript (Node.js) can be used on the backend to write business logic within API steps, Workflows, and Scheduled Jobs:
  • Transform the output of previous REST, GraphQL or SQL steps
  • Write business logic referencing the User Interface Components
  • Make HTTP calls via axios

Supported Libraries

Superblocks supports all of the libraries included in Node.js 16. For example, you can use the url module for URL resolution and parsing, or crypto for password hashing and encryption / decryption. To use any of these libraries in backend JavaScript steps, include them with the require() function.
use crypto in backend javascript
In addition, the following JavaScript libraries are also supported in Superblocks Applications, Workflows, and Scheduled Jobs.
"@notionhq/client": "2.2.5",
"@paralleldrive/cuid2": "2.2.0",
"amazon-qldb-driver-nodejs": "2.2.0",
"aws-sdk": "2.1367.0",
"axios": "0.25.0",
"base64url": "3.0.1",
"bcrypt": "5.1.0",
"date-fns": "3.3.1",
"deasync": "0.1.26",
"esprima": "4.0.1",
"jmespath": "0.16.0",
"jsonwebtoken": "9.0.0",
"lodash": "4.17.21",
"minimist": "1.2.6",
"moment": "2.29.4",
"notion-to-md": "2.7.0",
"piscina": "^3.2.0",
"xmlbuilder2": "3.0.2",
"xml2json": "0.12.0",
"webflow-api": "1.2.2"
Note, if you host the Superblocks data plane (i.e., not using Superblocks Cloud), it’s also possible to import custom packages by creating a custom Docker image.