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

Start a new topic

How can i include npm libraries in my app?

I am trying to request an HTTPS link which needs to be authenticated, so i am tried to use Buffer("myapikey").toString(base64) but i coud'nt include buffer package,

I have tried require("buffer"), it doesn't work.

1 Comment

You can add it in manifest.yml with the corresponding versions in the following format to use it in the backend server.js.

dependencies: request: 2.72.0

 Or just look for the frontend version

Login or Signup to post a comment