@outreach/launchdarkly-js-extension-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

@outreach/launchdarkly-js-extension-sdk

LaunchDarkly SDK for browser extension background service workers.

The SDK is built on top of js-sdk-common which is not an official API provided by LaunchDarkly. This SDK can break with feature releases of js-sdk-common.

The implementation of the SDK is similar to browser SDK with following differences:

  • It uses fetch instead of XMLHttpRequest for network requests
  • It uses chrome.storage.local for flag caching instead of localStorage
  • It hooks to chrome.runtime.onSuspend for cleanup (flushing analytic events) instead of unload event listener

Readme

Keywords

none

Package Sidebar

Install

npm i @outreach/launchdarkly-js-extension-sdk

Weekly Downloads

359

Version

1.1.4

License

Apache-2.0

Unpacked Size

312 kB

Total Files

19

Last publish

Collaborators

  • berickson1
  • george-e-shaw-iv-outreach
  • jaredallard