OpenFeature is an open specification that provides a vendor-agnostic, community-driven API for feature flagging that works with your favorite feature flag management tool.
[!IMPORTANT]
If you're developing a provider or hook, you probably do not want to use this package!
This package comprises the common types and interfaces of the OpenFeature server and web SDKs.
If you are developing a provider or a hook, you should instead utilize the server or web SDKs.
This package is useful if you need to reference the underlying types common to all the JS SDKs or if you're creating a utility that can be used for both server and web implementations.
Be sure to add this module as either a devDependency
(if only build time assets such as types are required) or as a peerDependency
with a permissive version expression.
See here for the complete API documentation.
A type representing any possible ProviderStatus (server or client side). In most cases, you probably want to import
ProviderStatus
from the respective SDK.