@openfeature/core
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

OpenFeature Logo

Shared js components (server and web)

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.

🔩 Shared JS components

[!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.

API Reference

See here for the complete API documentation.

Package Sidebar

Install

npm i @openfeature/core

Weekly Downloads

23,176

Version

1.1.0

License

Apache-2.0

Unpacked Size

200 kB

Total Files

9

Last publish

Collaborators

  • beeme1mr
  • toddbaert