Install
JavaScript SDK Installation
To integrate Wingify JavaScript SDK into your web application, you first need to install the SDK through a package manager for JavaScript. Wingify JavaScript SDK can be installed using either npm or yarn.
There's one common repository since code is almost the same, written in JavaScript. Wingify JavaScript SDK shares the code with our Wingify Node.js SDK, build, and packaged differently. But the installation is the same as Wingify Node.js SDK.
Requirements
Note:Latest browsers:
Chrome >= 60.0, Firefox >= 60.0, Safari >= 10.1, Edge >= 12, Opera >= 50
Installation via npm
To integrate Wingify JavaScript SDK into your web application through npm, run the following command through the command line. Make sure you run this command in the correct directory where your app resides.
npm install vwo-node-sdk --saveInstallation via yarn
To integrate Wingify JavaScript SDK into your web application through yarn, run the following command through the command line. Make sure you run this command in the correct directory where your app resides.
yarn add vwo-node-sdkInstallation via script tag
For client-side, Wingify JavaScript SDK can also be used by directly downloading the SDK and using script tags in HTML
<script src="/path/to/vwo-javascript-sdk" />Or can be downloaded from CDNs like jsdelivr. For eg:
<script src="https://cdn.jsdelivr.net/npm/vwo-node-sdk@1/dist/vwo-javascript-sdk.min.js" />
NotePlease check the official documentation of different CDNs on how to reference the library/SDK version when using it as script's src.
Source Code
The Wingify SDK code is available in various languages on GitHub. All different SDKs published under Wingify Organization on GitHub are licensed under Apache 2.0 License (c) Wingify Pvt. Ltd. 2019-2021.
| Language | Repository |
|---|---|
| JavaScript | https://github.com/wingify/vwo-node-sdk |