SDKs
Browser SDK
You can use the same Eventvisor JavaScript SDK in your browser-based applications.
Installation#
Install with npm:
Command
$ npm install --save @eventvisor/sdk
API#
See full API docs in JavaScript SDK page.
Polyfills#
TextEncoder#
In very old browsers, you may need to polyfill the TextEncoder
API for encoding strings.
You can use the fastestsmallesttextencoderdecoder polyfill for this:
Command
$ npm install --save fastestsmallesttextencoderdecoder
And then import or require()
it in your code:
your-app/index.js
import "fastestsmallesttextencoderdecoder";