https://github.com/open-feature/js-sdk
JavaScript SDK for OpenFeature
https://github.com/open-feature/js-sdk
openfeature sdk typescript
Last synced: 7 months ago
JSON representation
JavaScript SDK for OpenFeature
- Host: GitHub
- URL: https://github.com/open-feature/js-sdk
- Owner: open-feature
- License: apache-2.0
- Created: 2022-05-02T11:30:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-08T20:17:11.000Z (8 months ago)
- Last Synced: 2025-05-08T21:26:24.676Z (8 months ago)
- Topics: openfeature, sdk, typescript
- Language: TypeScript
- Homepage: https://openfeature.dev
- Size: 17 MB
- Stars: 207
- Watchers: 8
- Forks: 37
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
OpenFeature JavaScript SDKs
[](https://snyk.io/test/github/open-feature/js-sdk)
[](https://codecov.io/gh/open-feature/js-sdk)
[](https://bestpractices.coreinfrastructure.org/projects/6594)
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fopen-feature%2Fjs-sdk?ref=badge_shield)
## 👋 Hey there! Thanks for checking out the OpenFeature JavaScript SDKs
### What is OpenFeature?
[OpenFeature][openfeature-website] is an open standard that provides a vendor-agnostic, community-driven API for feature flagging that works with your favorite feature flag management tool.
### Why standardize feature flags?
Standardizing feature flags unifies tools and vendors behind a common interface which avoids vendor lock-in at the code level. Additionally, it offers a framework for building extensions and integrations and allows providers to focus on their unique value proposition.
## 🔧 Components
This repository contains both the server-side JS and web-browser SDKs.
For details, including API documentation, see the respective README files.
- [Server SDK](./packages/server/README.md), for use in Node.js and similar runtimes.
- [NestJS SDK](./packages/nest/README.md), a distribution of the Server SDK with built-in NestJS-specific features.
- [Web SDK](./packages/web/README.md), for use in the web browser.
- [React SDK](./packages/react//README.md), a distribution of the Web SDK with built-in React-specific features.
Each have slightly different APIs, but share many underlying types and components.
## ⭐️ Support the project
- Give this repo a ⭐️!
- [Contribute](#-contributing) to this repo
- Follow us social media:
- Twitter: [@openfeature](https://twitter.com/openfeature)
- LinkedIn: [OpenFeature](https://www.linkedin.com/company/openfeature/)
- Join us on [Slack](https://cloud-native.slack.com/archives/C0344AANLA1)
- For more check out our [community page](https://openfeature.dev/community/)
## 🤝 Contributing
Interested in contributing? Great, we'd love your help! To get started, take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.
### Thanks to everyone that has already contributed
Made with [contrib.rocks](https://contrib.rocks).
## 📜 License
[Apache License 2.0](LICENSE)
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fopen-feature%2Fjs-sdk?ref=badge_large)
[openfeature-website]: https://openfeature.dev