What is @launchdarkly/js-sdk-common?
@launchdarkly/js-sdk-common is a JavaScript SDK for LaunchDarkly, a feature management platform. This package provides common functionality for LaunchDarkly's client-side and server-side SDKs, allowing developers to manage feature flags, user targeting, and A/B testing.
What are @launchdarkly/js-sdk-common's main functionalities?
Track custom events
{"client.track('custom-event-key', { customData: 'value' });":"Track custom events to gather analytics data. This can be useful for A/B testing and understanding user behavior."}
0
LaunchDarkly SDK JavaScript Common Code
This project contains Typescript classes and interfaces that are applicable to client-side and server-side JavaScript SDKs.
This library is a beta version and should not be considered ready for production use while this message is visible.
Contributing
See Contributing.
Verifying SDK build provenance with the SLSA framework
LaunchDarkly uses the SLSA framework (Supply-chain Levels for Software Artifacts) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published SDK packages. To learn more, see the provenance guide.
About LaunchDarkly
- LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
- Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
- Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
- Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
- Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
- LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out our documentation for a complete list.
- Explore LaunchDarkly