Skip to main content

How can i include npm libraries in my app?

  • February 13, 2018
  • 1 reply
  • 54 views

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.

This topic has been closed for replies.

1 reply

  • Contributor
  • February 13, 2018

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/