![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@openfeature/flagd-provider
Advanced tools
![Experimental](https://img.shields.io/badge/experimental-breaking%20changes%20allowed-yellow)
Flagd is a simple daemon for evaluating feature flags. It is designed to conform to OpenFeature schema for flag definitions. This repository and package provides the client code for interacting with it via the OpenFeature server-side JavaScript SDK.
$ npm install @openfeature/flagd-provider
The FlagdProvider
supports multiple configuration options that determine now the SDK communicates with flagd.
Options can be defined in the constructor or as environment variables, with constructor options having the highest precedence.
Option name | Environment variable name | Type | Default |
---|---|---|---|
host | FLAGD_HOST | string | localhost |
port | FLAGD_PORT | number | 8013 |
tls | FLAGD_TLS | boolean | false |
socketPath | FLAGD_SOCKET_PATH | string | - |
OpenFeature.setProvider(new FlagdProvider({
host: 'localhost',
port: 8013,
}))
OpenFeature.setProvider(new FlagdProvider({
socketPath: "/tmp/flagd.socks",
}))
Run nx package providers-flagd
to build the library.
NOTE: Buf must be installed to build locally.
Run nx test providers-flagd
to execute the unit tests via Jest.
FAQs
This provider is designed to use flagd's [evaluation protocol](https://github.com/open-feature/schemas/blob/main/protobuf/schema/v1/schema.proto), or locally evaluate flags defined in a flagd [flag definition](https://github.com/open-feature/schemas/blob/
The npm package @openfeature/flagd-provider receives a total of 4,261 weekly downloads. As such, @openfeature/flagd-provider popularity was classified as popular.
We found that @openfeature/flagd-provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.