Browser SDK
What is the Browser SDK?
The Browser SDK is a basic client-side JavaScript library that allows you to integrate Bucket with your app.
If you're using a higher-level library or framework, see the supported languages.
See our OpenFeature Browser Provider for integration with OpenFeature.
Getting started
You can find the full developer documentation on GitHub.
Install the SDK
The package should be imported and initialized as follows:
See the docs for the difference between getFeature
and getFeatures
.
It's also possible to implement a simple HTML <script>
tag:
See the example on Github for a working example.
If you're using the Browser SDK through a simple <script>
tag, BucketClient
will become available under BucketBrowserSDK.
Complete developer documentation
You can find the full documentation on GitHub.
Last updated