The scripts can use both external libraries (via package.json and npm install) and certain built-in modules in Node.js (like fs, path, etc.). However, for security reasons, not all built-in Node.js modules are made accessible by default in Bruno scripts.Documentation Index
Fetch the complete documentation index at: https://docs.usebruno.com/llms.txt
Use this file to discover all available pages before exploring further.
Why Whitelisting
Bruno requires you to explicitly enable (whitelist) modules before they can be used in scripts due to security reasons. The whitelisting process ensures that only the modules you specifically choose to enable will be available to your scripts. You can manually enable or whitelist these modules by editing yourbruno.json file. Make sure to add the script section to the file.
copy showLineNumbers
Whitelisting Multiple Modules
If you need to use multiple built-in or trusted third-party modules in your Bruno script, you can whitelist them by adding them to themoduleWhitelist array. For example:
copy showLineNumbers