|
1 | | -# OpenFeature SDK for NodeJS |
| 1 | +# OpenFeature SDK for JavaScript |
2 | 2 |
|
3 | 3 | [](https://cloud-native.slack.com/archives/C0344AANLA1) |
4 | | -[](https://codecov.io/gh/open-feature/node-sdk) |
5 | | -[](https://badge.fury.io/js/@openfeature%2Fnodejs-sdk) |
6 | | -[](https://snyk.io/test/github/open-feature/node-sdk) |
| 4 | +[](https://codecov.io/gh/open-feature/js-sdk) |
| 5 | +[](https://badge.fury.io/js/@openfeature%2Fjs-sdk) |
| 6 | +[](https://snyk.io/test/github/open-feature/js-sdk) |
7 | 7 | [](https://github.com/open-feature/spec/tree/v0.4.0) |
8 | 8 |
|
9 | | -This is the NodeJS implementation of [OpenFeature](https://openfeature.dev), a vendor-agnostic abstraction library for evaluating feature flags. |
| 9 | +This is the JavaScript implementation of [OpenFeature](https://openfeature.dev), a vendor-agnostic abstraction library for evaluating feature flags. |
10 | 10 |
|
11 | 11 | We support multiple data types for flags (numbers, strings, booleans, objects) as well as hooks, which can alter the lifecycle of a flag evaluation. |
12 | 12 |
|
13 | | -This library is intended to be used in server-side contexts and has not been evaluated for use in mobile devices. |
| 13 | +This library is intended to be used in server-side contexts and has not been evaluated for use client-side or on mobile devices. |
14 | 14 |
|
15 | 15 | ## Installation |
16 | 16 |
|
17 | 17 | ```shell |
18 | | -npm install @openfeature/nodejs-sdk |
| 18 | +npm install @openfeature/js-sdk |
19 | 19 | ``` |
20 | 20 |
|
21 | 21 | or |
22 | 22 |
|
23 | 23 | ```shell |
24 | | -yarn add @openfeature/nodejs-sdk |
| 24 | +yarn add @openfeature/js-sdk |
25 | 25 | ``` |
26 | 26 |
|
27 | 27 | ## Usage |
28 | 28 |
|
29 | 29 | ```typescript |
30 | | -import { OpenFeature } from '@openfeature/nodejs-sdk'; |
| 30 | +import { OpenFeature } from '@openfeature/js-sdk'; |
31 | 31 |
|
32 | 32 | OpenFeature.setProvider(new MyProvider()); |
33 | 33 |
|
@@ -58,8 +58,8 @@ For testing purposes, you can add a comment containing "/publish" in any PR. Thi |
58 | 58 |
|
59 | 59 | Thanks so much to our contributors. |
60 | 60 |
|
61 | | -<a href="https://github.com/open-feature/node-sdk/graphs/contributors"> |
62 | | - <img src="https://contrib.rocks/image?repo=open-feature/node-sdk" /> |
| 61 | +<a href="https://github.com/open-feature/js-sdk/graphs/contributors"> |
| 62 | + <img src="https://contrib.rocks/image?repo=open-feature/js-sdk" /> |
63 | 63 | </a> |
64 | 64 |
|
65 | 65 | Made with [contrib.rocks](https://contrib.rocks). |
|
0 commit comments