Freshworks named the only Challenger in 2021 Gartner® Magic Quadrant™ for ITSM tools. Access Report

Start a new topic

Node built-in modules

How do I require and use a node built-in module in a serverless app, such as crypto or URL? I only see documentation on how to include external, npm modules.


Hi Joseph,


Currently for security reasons we've blocked the usage of built-in modules. Alternatively, For crypto you can use this npm package. Also, If you could let me know what specific operation that you are looking for in URL built-in, I could suggest you with better alternatives. 

Hi,

I would like to use built-in https package to set localhost certificate along with axios lib (to be able to debug).How can I do that?


Thank you.

Regards,

Kevin

How can I use built-in https package? I need it along with axios package to set local certificate and debug calls to my rest api.

Login or Signup to post a comment