To use external libraries in bruno you have to first modify your bruno.json file by adding:
"scripts": { "moduleWhitelist": ["fs", "path"], "filesystemAccess": { "allow": true } }