External Libraries

External Libraries

Bruno supports loading any npm module to use in your scripting workflows.

You need to add a package.json file where your collection is stored.

  "name": "github-rest-api-collection",
  "version": "1.0.0",
  "main": "index.js",
  "homepage": "",
  "dependencies": {
    "@faker-js/faker": "8.3.1"

And then run npm install inside your collection folder

npm install

And then you can require the node module in your script as usual. Example:

const { faker } = require('@faker-js/faker');
const randomName =;
const randomEmail =;
  name: randomName,
  email: randomEmail