Integrating NPM package "Authenticator" with postman for MFA

You can’t utilise node libraries in Postman web or the desktop client.

You are limited to the libraries\modules built into the sandbox.

You can however use Newman as an node.JS module.

newman - npm (npmjs.com)

Or just turn off MFA on the account you use for testing, which is an common approach for this problem in automation as you aren’t usually testing the MFA element, but the application you hit after this.