Javascript Client for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://www.flagsmith.com/
The SDK clients for web and React Native for https://www.flagsmith.com/. Flagsmith allows you to manage feature flags and remote config across multiple projects, environments and organisations.
| Package | Description |
|---|---|
| @flagsmith/flagsmith | Web and SSR SDK |
| @flagsmith/react-native | React Native SDK |
# For web/SSR
npm install @flagsmith/flagsmith
# For React Native
npm install @flagsmith/react-native
For full documentation visit https://docs.flagsmith.com/clients/javascript/
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
npm installnpm run buildnpm run build and all tests are passing with npm run test before submitting a pull requestIf you encounter a bug or feature request we would like to hear about it. Before you submit an issue please search existing issues in order to prevent duplicates.
If you have any questions about our projects you can email support@flagsmith.com.
Feature request: helper to record the exposure when the variant is actually on screen
https://github.com/Flagsmith/flagsmith-js-client/issues/450
Labels: None
Docs: clarify that getExperimentFlag() records an exposure but getValue() does not
https://github.com/Flagsmith/flagsmith-js-client/issues/449
Labels: None
Experiment events are lost when a visitor leaves within flushInterval (no flush on pagehide)
https://github.com/Flagsmith/flagsmith-js-client/issues/445
Labels: None
init({ traits }) double-wraps { value, transient } trait objects, sending a nested trait_value
https://github.com/Flagsmith/flagsmith-js-client/issues/444
Labels: None
Dependency Dashboard
https://github.com/Flagsmith/flagsmith-js-client/issues/435
Labels: None
No CONTRIBUTING document was found. Please check the README and open issues.