|
| 1 | +# LaunchDarkly Akamai SDK |
| 2 | + |
| 3 | +[![NPM][sdk-akamai-npm-badge]][sdk-akamai-npm-link] |
| 4 | +[![Actions Status][sdk-akamai-ci-badge]][sdk-akamai-ci] |
| 5 | +[![Documentation][sdk-akamai-ghp-badge]][sdk-akamai-ghp-link] |
| 6 | +[![NPM][sdk-akamai-dm-badge]][sdk-akamai-npm-link] |
| 7 | +[![NPM][sdk-akamai-dt-badge]][sdk-akamai-npm-link] |
| 8 | + |
| 9 | +The LaunchDarkly Akamai SDK is designed primarily for use in Akamai Edgeworkers. It follows the server-side LaunchDarkly model for multi-user contexts. It is not intended for use in desktop and embedded systems applications. |
| 10 | + |
| 11 | +For more information, see the [complete reference guide for this SDK](https://docs.launchdarkly.com/sdk/server-side/akamai). |
| 12 | + |
| 13 | +## Install |
| 14 | + |
| 15 | +```shell |
| 16 | +npm i @launchdarkly/akamai-server-sdk |
| 17 | +``` |
| 18 | + |
| 19 | +Then turn on the Node.js compatibility flag in your `wrangler.toml`. This allows the SDK to use `node:events`: |
| 20 | + |
| 21 | +```toml |
| 22 | +compatibility_flags = [ "nodejs_compat" ] |
| 23 | +``` |
| 24 | + |
| 25 | +## Quickstart |
| 26 | + |
| 27 | + |
| 28 | +See the full [example app](https://github.com/launchdarkly/js-core/tree/main/packages/sdk/akamai/example). |
| 29 | + |
| 30 | +## Developing this SDK |
| 31 | + |
| 32 | +```shell |
| 33 | +# at js-core repo root |
| 34 | +yarn && yarn build && cd packages/sdk/akamai |
| 35 | + |
| 36 | +# run tests |
| 37 | +yarn test |
| 38 | +``` |
| 39 | + |
| 40 | +## About LaunchDarkly |
| 41 | + |
| 42 | +- 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: |
| 43 | + - 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. |
| 44 | + - 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?). |
| 45 | + - 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. |
| 46 | + - 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. |
| 47 | +- LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read [our documentation](https://docs.launchdarkly.com/sdk) for a complete list. |
| 48 | +- Explore LaunchDarkly |
| 49 | + - [launchdarkly.com](https://www.launchdarkly.com/ 'LaunchDarkly Main Website') for more information |
| 50 | + - [docs.launchdarkly.com](https://docs.launchdarkly.com/ 'LaunchDarkly Documentation') for our documentation and SDK reference guides |
| 51 | + - [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation') for our API documentation |
| 52 | + - [blog.launchdarkly.com](https://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation') for the latest product updates |
| 53 | + |
| 54 | +[sdk-akamai-ci-badge]: https://github.com/launchdarkly/js-core/actions/workflows/akamai.yml/badge.svg |
| 55 | +[sdk-akamai-ci]: https://github.com/launchdarkly/js-core/actions/workflows/akamai.yml |
| 56 | +[sdk-akamai-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/akamai-server-sdk.svg?style=flat-square |
| 57 | +[sdk-akamai-npm-link]: https://www.npmjs.com/package/@launchdarkly/akamai-server-sdk |
| 58 | +[sdk-akamai-ghp-badge]: https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8 |
| 59 | +[sdk-akamai-ghp-link]: https://launchdarkly.github.io/js-core/packages/sdk/akamai/docs/ |
| 60 | +[sdk-akamai-dm-badge]: https://img.shields.io/npm/dm/@launchdarkly/akamai-server-sdk.svg?style=flat-square |
| 61 | +[sdk-akamai-dt-badge]: https://img.shields.io/npm/dt/@launchdarkly/akamai-server-sdk.svg?style=flat-square |
0 commit comments