Feature flags for SaaS that run on TypeScript. Learn more and get started
Client side React SDK
React Native SDK for mobile apps
Client side Vue SDK
Browser SDK for use in non-React web applications
Node.js SDK for use on the server side. Use this for Cloudflare Workers as well.
Typed SDK for Reflag's REST API.
CLI to interact with Reflag and generate types
Use Reflag with OpenFeature in the browser through the Reflag OpenFeature Browser Provider
Use the Reflag with OpenFeature on the server in Node.js through the Reflag OpenFeature Node.js Provider
- Create a new branch locally
- Run
yarn changeset - Select the packages that changed and the correct bump type
- Commit the generated file in
.changeset/ - Push and open a PR
Repository setup:
- Configure npm Trusted Publisher entries for the packages in this repo against the
reflagcom/javascriptGitHub repository and thepublish.ymlworkflow - Keep the workflow on GitHub-hosted runners with
id-token: write, pluscontents: writeandpull-requests: writefor the release PR flow
When a PR with one or more changesets is merged to main, the release workflow will open or update a Version Packages PR.
Merging that PR will:
- Apply the version bumps
- Publish the updated packages to npm
- Rebuild and push the generated SDK docs