Getting Started
Installation
Add the Browser SDK to your application.
Add the Browser SDK via a script tag or ES module import. No npm install required.
Script Tag (Recommended)
Add to your HTMLhtml
<script src="https://verifystack.io/sdk/browser.js"></script>ES Module Import
ESM importjavascript
import { VerifyStack } from 'https://verifystack.io/sdk/browser.mjs';
const vs = new VerifyStack({
apiKey: 'pk_live_xxxxxxxxx',
endpoint: 'https://verifystack.io'
});Bundle Size
| Build | Size (gzip) | Format |
|---|---|---|
| browser.js (script tag) | ~17 KB | IIFE |
| browser.mjs (ES module) | ~17 KB | ESM |
Browser Support
- Chrome / Edge 80+
- Firefox 78+
- Safari 14+
- iOS Safari 14+
- Android Chrome 80+