New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

launchdarkly-cloudflare-edge-sdk

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

launchdarkly-cloudflare-edge-sdk

[![CircleCI](https://circleci.com/gh/launchdarkly/cloudflare-edge-sdk.svg?style=svg)](https://circleci.com/gh/launchdarkly/cloudflare-edge-sdk)

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

LaunchDarkly Edge SDK for Cloudflare

CircleCI

Important note

As mentioned in the repository changelog, the cloudflare-edge-sdk project has been renamed to cloudflare-server-sdk. All future releases will be made from the new repository. Please consider upgrading and filing potential requests in that repository's issue tracker.

v1.x readme

This library supports using Cloudflare Workers KV to replace the default in-memory feature store of the LaunchDarkly Node.js SDK.

For more information, see the SDK features guide.

Quick setup

  1. Install this package with npm:

    npm install launchdarkly-cloudflare-edge-sdk --save
    
  2. Require the package:

    const { init } = require('launchdarkly-cloudflare-edge-sdk');
    
  3. When configuring your SDK client, initialize with the Cloudflare KV namespace:

    const client = init(KV_NAMESPACE, 'YOUR CLIENT-SIDE SDK KEY');
    

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. Read our documentation for a complete list.
  • Explore LaunchDarkly

Keywords

FAQs

Package last updated on 29 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc