You can install using either npm or yarn
# yarn
$ yarn install webplug
# npm
$ npm install webplug
// import the webplug client library
import WebPlug from "webplug";
// Initiate a new webplug connection
const webplugClient = new WebPlug({
apiKey: import.meta.env.VITE_REACT_APP_API_KEY!,
url: import.meta.env.VITE_REACT_APP_API_URL!,
});