Solved

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.



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 https://cdnjs.com/


Login or Signup to post a comment

Sign up for Freshsales today

Start your 30-day free trial. No credit card required. No strings attached.

Start Free Trial