Skip to content
On this page

Inbuilt Libraries

Below are the list of inbuilt libraries that you can require in your scripts.

  • ajv - Ajv JSON schema validator
  • axios - Promise based HTTP client for the browser and node.js
  • node-fetch - A light-weight module that brings Fetch API to Node.js.
  • atob - Turn base64-encoded ascii data back to binary.
  • btoa - Turn binary data to base64-encoded ascii.
  • chai - BDD/TDD assertion library for node.js and the browser.
  • lodash - A modern JavaScript utility library delivering modularity, performance & extras.
  • moment - Parse, validate, manipulate, and display dates and times in JavaScript.
  • uuid - For the creation of RFC4122 UUIDs
  • nanoid - A tiny, secure, URL-friendly, unique string ID generator for JavaScript.
  • crypto-js - JavaScript library of crypto standards.


const { nanoid } = require("nanoid");

req.setHeader("transaction-id", nanoid());