SDKs
Browser SDK
You can use the same Featurevisor JavaScript SDK in browser environments as well.
Installation#
Install with npm:
Command
$ npm install --save @featurevisor/sdk
API#
Please find the full API docs in JavaScript SDK page.
Polyfills#
TextEncoder#
Featurevisor SDK uses TextEncoder
API for encoding strings.
if you need to support very old browsers, you can consider using fastestsmallesttextencoderdecoder
.
You can install it with npm:
Command
$ npm install --save fastestsmallesttextencoderdecoder
And then import or require()
it in your code:
your-app/index.js
import 'fastestsmallesttextencoderdecoder'