Flagsmith SDK
Reasonable, with limits. 8th of 8 feature flag SDKs.
The Flagsmith SDK is the browser, React and React Native client for Flagsmith, an open-source flag service under the BSD licence that you can host yourself. It works well with zero dependencies, but it only pays off if you choose Flagsmith as your service, and its use and outside validation trail Unleash, GrowthBook and the hosted vendors.
Best for: Teams that want flags and remote config from a service they can host themselves under a permissive BSD licence, on the web or in React Native.
Scores
Overall6.4
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It is a solid, maintained SDK with no dependencies for a capable open-source flag service under a permissive licence. That makes it a reasonable pick for teams set on hosting Flagsmith themselves. For most new projects, Unleash, GrowthBook or a vendor SDK behind OpenFeature have more use, funding and validation. The recent package rename and breaking majors also count against it.
- deployhq.com/blog/feature-flag-tools-compared: Pick Flagsmith for permissive self-hosting; GrowthBook for experiments
- peers: Peers have 4 to 60 times more downloads
- github.com/Flagsmith/flagsmith-js-client/releases: Active releases, but two breaking majors within a year
GPT-6.2 Sol: 7.2, likely 6.0 to 8.2
Flagsmith is a strong pick for a new web app that wants a self-hostable flag service, user targeting, and a typed SDK with caching and fallbacks. GrowthBook has the edge when browser-side rule evaluation is important, and OpenFeature is the better application interface when provider portability comes first. Recent releases support the recommendation, while the unclear adoption trend and limited independent evidence on the current release keep the range wide.
- docs.flagsmith.com/integrating-with-flagsmith/sdks/client-side-sdks/javascript: Documents hosted and self-hosted setup, typed APIs, and fallback behavior.
- github.com/Flagsmith/flagsmith-js-client/releases/tag/v12.5.0: Current stable release adds behavioral testing and event delivery improvements.
- docs.growthbook.io/lib/js: GrowthBook supports evaluating downloaded rules in JavaScript.
- openfeature.dev/docs/reference/sdks/client/web: OpenFeature provides a common web API across flag providers.
- npm.downloadsSame4WeeksYearAgo, dependents, peers: The scoped package has no year-ago baseline or indexed dependent count.
Needed by many4.8
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Feature flags are a common need in web apps, but this package only serves teams that pick Flagsmith as their backend. It covers the browser, React and React Native, not just one framework. Server-side Node needs the separate flagsmith-nodejs package.
- docs.flagsmith.com/clients/javascript: One library for JS, React, other frameworks and React Native
- category.job: Flags are a common need, but this SDK is tied to one vendor's service
GPT-6.2 Sol: 4.6, likely 3.4 to 5.9
Targeted rollouts and quick rollbacks matter to teams that ship web apps regularly. The SDK works across browser frameworks and supports server rendering, though it requires a Flagsmith service. A CNCF survey found that 13% of backend developers used feature flagging, which gives a sense of the category's size but leaves demand among JavaScript developers uncertain.
- cncf.io/wp-content/uploads/2026/03/State-of-Cloud-Native-Development-Q1-2026.pdf: 13% of 2,792 backend developers reported using feature flagging.
- docs.flagsmith.com/integrating-with-flagsmith/sdks/client-side-sdks/javascript: Documents browser frameworks, server-rendered state, and custom API endpoints.
Helps a lot7.0
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
The SDK is mature. It has flag caching, default flags, traits and identities, real-time updates, SSR support, React hooks and, since v12.1, experiment exposure events. It has types and no dependencies. Open issues on React 19, union types in `useFlags` and init error handling show rough edges, and its experimentation features are thinner than GrowthBook's.
- github.com/Flagsmith/flagsmith-js-client/releases: v12.x added evaluation reasons, experiment metadata and event retries
- github.com/Flagsmith/flagsmith-js-client/issues: Open React 19, typing and init-error issues
- deployhq.com/blog/feature-flag-tools-compared: Flags-first tool with thinner experimentation and governance
- npm hasTypes / dependencies: Ships its own types, 0 dependencies
GPT-6.2 Sol: 7.5, likely 6.4 to 8.5
Version 12.5.0 has typed flag reads, user traits, live updates, and configurable fallbacks, with examples for common frameworks. It reads fetched values locally, while fresh targeting decisions go through the API. GrowthBook can evaluate downloaded rules in the browser, which gives it an edge when targeting must keep working without a fresh request. An open React issue documents a type inference problem, and there is little independent evidence on performance or coding-agent accuracy.
- docs.flagsmith.com/integrating-with-flagsmith/sdks/client-side-sdks/javascript: Documents flag reads, targeting traits, caching, defaults, and live updates.
- github.com/Flagsmith/flagsmith-js-client/releases/tag/v12.5.0: Adds event delivery retries and runs the SDK behavior tests in CI.
- docs.flagsmith.com/administration-and-security/billing-api-usage: Documents remote evaluation and server-side local evaluation.
- docs.growthbook.io/lib/js: Documents browser evaluation and an optional remote evaluation mode.
- github.com/Flagsmith/flagsmith-js-client/issues/318: A user reports multi-flag inference errors and gets a workaround.
Holds up over time6.9
Will it still be a good choice in two years?
Claude Opus 5.5: 6.5, likely 5.0 to 7.5
It ships steadily: 11 releases and 46 commits in the last year, with the latest in November 2026, and 13 open issues against 152 closed. A small, bootstrapped company is behind it, while Unleash just raised a $35M Series B. Two major versions and a package rename within a year add upgrade friction.
- github releasesLastYear / commitsLastYear: 11 releases, 46 commits in the last year
- github.com/Flagsmith/flagsmith-js-client/releases: v10 and v12 breaking changes; npm scope moved in v12
- geo.sig.ai/brands/flagsmith.md: Bootstrapped company, about $1M+ ARR reported
- tamradar.com/funding-rounds/unleash-series-b-35m: Competitor Unleash is better funded
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
Flagsmith maintains the SDK alongside its commercial service, and the repository recorded 46 commits and 11 releases in the last year. The November release added shared behavior tests, and the OpenFeature provider gives teams a path to a portable API. The package rename, changes to initialization error handling, and several long-open SDK issues add uncertainty about upgrade and support costs.
- github.commitsLastYear, github.releasesLastYear, github.latestRelease: 46 commits and 11 releases, with v12.5.0 published in November.
- flagsmith.com/commercial-open-source-software-podcast/monetisation-the-road-to-the-first-1m-arr: The company describes its hosted and enterprise revenue model.
- github.com/Flagsmith/flagsmith-js-client/releases: Records the package migration, changed startup behavior, and new behavior tests.
- github.com/Flagsmith/flagsmith-js-client/issues: Several issues remain open from 2025, including initialization error handling.
- docs.flagsmith.com/integrating-with-flagsmith/openfeature: Flagsmith maintains web and server providers for OpenFeature.
Used widely4.2
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
The new scoped package has about 457k downloads in 4 weeks, and the old `flagsmith` package still has about 681k, so the total is about 1.1M. The year-ago figure of zero is an artifact of the rename. My rough estimate of combined growth is about 3x, which is below the 4.1 median, but it rests on an old weekly snapshot, so the trend is uncertain. That is far below every open-source peer except ConfigCat, and the repo has few stars and no Bluesky or Hacker News mentions.
- npm downloadsLast4Weeks: 456,608 for @flagsmith/flagsmith; year-ago 0 because the package was first published in January 2026
- api.npmjs.org/downloads/point/last-month/flagsmith: The old unscoped package still had 681,107 downloads in the last month
- npmjs.com/package/flagsmith: The old package showed about 81k weekly downloads in an earlier snapshot
- peers downloadsLast4Weeks: Unleash 4.1M, GrowthBook 6.3M, LaunchDarkly 15M
GPT-6.2 Sol: 4.3, likely 2.9 to 5.9
The scoped package had 456,608 downloads in four weeks, the lowest figure in the peer bundle, and the old package still gets installs. Automated and indirect installs make those counts a rough guide to direct use, and a sample of new public sites detected Flagsmith much less often than Unleash or GrowthBook. The move to the scoped name leaves no comparable year-over-year figure to judge against the 4.1× median. The missing dependent count further limits confidence in the estimate.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, npm.firstPublishedAt, medianDownloadsRatio: 456,608 downloads for a package first published in 2026.
- dependents, peers: No dependent count for Flagsmith and higher downloads for every listed peer.
- github.com/Flagsmith/flagsmith-js-client/releases/tag/v12.0.0: Records the April move to the scoped npm name.
- security.snyk.io/package/npm/flagsmith: The deprecated unscoped package still records substantial downloads.
- firstsited.com/category/feature-flags: Detects the service on fewer new public sites than Unleash or GrowthBook.
Vouched for5.4
Who stands behind it being good?
Claude Opus 5.5: 4.5, likely 3.0 to 6.0
Independent roundups (DeployHQ, PostHog) list Flagsmith among the main open-source flag tools. They praise its BSD licence and vendor-supported OpenFeature providers. Vercel's Flags SDK has a Flagsmith adapter. I found no survey data, no named production users and little user discussion about this SDK itself, and many comparisons come from competitors.
- deployhq.com/blog/feature-flag-tools-compared: Independent comparison recommends it for permissive self-hosting
- posthog.com/compare/best-flagsmith-alternatives.md: Competitor lists Flagsmith as a major option
- socket.dev/npm/package/@flags-sdk/flagsmith: Flags SDK adapter exists
- hackerNews / bluesky: No HN stories or Bluesky posts for this repo
GPT-6.2 Sol: 6.3, likely 4.9 to 7.6
Datadog documents the browser integration, and Smartex reports using the React SDK and adopting the JavaScript SDK for an Angular rebuild. Soleur discloses web-platform use, and a self-hosting user reports a year of satisfactory operation. These reports show real deployments, while independent benchmarks and satisfaction data for the current SDK remain sparse.
- docs.datadoghq.com/real_user_monitoring/feature_flag_tracking/setup.md: Datadog documents direct browser instrumentation for Flagsmith.
- flagsmith.com/blog/customer-story-smartex: A Smartex engineer describes React and Angular SDK use in a vendor-hosted interview.
- soleur.ai/legal/privacy-policy: Soleur discloses runtime targeting on its web platform.
- reddit.com/r/devops/comments/1rr4fen/launch_darkly_rugpull_coming: A user reports a year of self-hosting and describes the infrastructure trade-off.
- saltsquare.io/results/blog/buy-or-build-feature-flags: An independent team liked the self-hosting docs and built its own tool for its requirements.
Safe8.2
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The package has zero runtime dependencies, no known advisories and a permissive BSD-3-Clause licence. Its dependency updates are automated and patched quickly. There is no OpenSSF Scorecard and I found nothing on how releases are signed or published, so the range stays moderate.
- advisories total: 0 advisories
- npm dependencies: 0 runtime dependencies
- scorecard: No Scorecard data
- github license: BSD-3-Clause
GPT-6.2 Sol: 8.3, likely 7.1 to 9.3
The package has zero runtime dependencies, a permissive BSD-3-Clause license, and zero recorded OSV advisories. The release workflow is configured for npm trusted publishing, and npm lists several collaborators. The public record leaves the exact release permissions, the artifact's provenance, and the OpenSSF Scorecard checks unverified.
- npm.dependencies, npm.license, advisories, scorecard: Zero runtime dependencies and recorded advisories, BSD-3-Clause, and no Scorecard result.
- raw.githubusercontent.com/Flagsmith/flagsmith-js-client/v12.5.0/.github/workflows/publish.yml: Tag-triggered npm workflow requests an identity token for trusted publishing.
- npmjs.com/package/%40flagsmith/flagsmith: npm lists six package collaborators.
Good
- It has zero runtime dependencies and ships its own TypeScript types.
- The Flagsmith backend can be hosted for free under BSD-3-Clause, while Unleash's core is under AGPL.
- One package covers plain JS, React hooks, Next.js SSR and React Native, and it can cache flags and fall back to default flags.
- Releases are steady: v12.1 to v12.5 in 2026 added experiment exposure events, evaluation reasons and retrying event delivery.
Bad
- The package was renamed from `flagsmith` to `@flagsmith/flagsmith` in v12, and the docs and most installs still use the old name.
- Two major versions in five months (v10 in December 2025, v12 in April 2026) changed how `init()` errors behave and required a backend upgrade for self-hosters.
- Some React issues have stayed open for a long time, including React 19 support, union-type problems with `useFlags` and multiple contexts.
- Its use and community attention are an order of magnitude below Unleash, GrowthBook, LaunchDarkly and Statsig.
The numbers
- npm downloads, 4 weeks
- 457k
- GitHub stars
- 67
- Commits, 12 months
- 46
- npm version
- 12.5.0 Nov 2026
- Versions, 12 months
- 9
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- BSD-3-Clause
Read on 21 November 2026 from GitHub (Flagsmith/flagsmith-js-client), npm (@flagsmith/flagsmith), OSV and the OpenSSF Scorecard.
Feature flag SDKs
- 7.8GrowthBook
- 7.7OpenFeature SDK
- 7.5LaunchDarkly SDK
- 7.1Flags SDK
- 6.9Unleash SDK
- 6.8Statsig SDK
- 6.6ConfigCat SDK
- 6.4Flagsmith SDK