In order to install the Web-library you will need to execute the following command through npm:
npm install limepay-web
Once you have installed the Web-library you need to include it in your project and connect to LimePay's API.
const LimePayWeb = require('limepay-web');const LimePay = await LimePayWeb.connect(LimePayWeb.Environment.Sandbox);
const LimePayWeb = require('limepay-web');const LimePay = await LimePayWeb.connect(LimePayWeb.Environment.Production);
Once the .connect
promise is being resolved you can start consuming the Library through the new instance that was created.