How to import "node-rsa" external library to Postman

My question: How to import “node-rsa” external library to Postman

const NodeRSA = require(‘node-rsa’);

We tried to import the from the above link and linked to global env variable and in the pre scripts we are getting - cannot find module “node-rsa”

Hi there! :wave:

I looked into this for you and found a thread that may be able to help.

This blog post also has some valuable tips to accomplish this :smile:

Thanks Kevin, We tried these methods which is mention in the thread but not working. Is there any other way to import. currently cryptoJS does not have RSA algorithm to generate the signature.

1 Like