GrowthBook
A strong pick. 1st of 8 feature flag SDKs.
GrowthBook's JavaScript SDK is the client for an open-source platform for feature flags and A/B tests. You can self-host the platform or use its cloud. The SDK is small, typed and evaluates flags locally, and the company behind it is funded and ships often. It is a strong pick, above all for teams that want flags and experiments in one tool without a closed vendor.
Best for: Teams that want open-source, self-hostable feature flags with built-in experiment analysis on their own data warehouse.
Scores
Overall7.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It is a well-built, lightweight SDK for an active, funded, open-source platform. It has the strongest real-project usage signal in the category. It suits teams that want flags plus experimentation without a closed vendor. OpenFeature is the neutral standard, and LaunchDarkly leads on enterprise release controls. Its download growth only matches the median.
- dependents repos: Most dependent repos among peers.
- github commitsLastYear: Very active development.
- docs.growthbook.io/lib/js: Full-featured SDK with typed flags.
- g2.com/compare/growthbook-vs-unleash: Unleash rated higher for ease of use.
GPT-6.2 Sol: 8.0, likely 6.9 to 8.9
GrowthBook is a strong choice for new products that want typed, locally evaluated flags and warehouse-backed experiments, with the option to self-host. OpenFeature is a better application API when switching providers matters most, and it can use GrowthBook as its backend. The recent major upgrade, self-hosted streaming setup, and limited independent evidence on 2.2.0 leave room for the score to move.
- docs.growthbook.io/lib/js: Documents typed local evaluation, fallbacks, streaming, and upgrade behavior.
- growthbook.io/platform/deployment-options: Documents hosted and self-hosted deployment options.
- developers.minds.com/docs/walk-throughs/feature-flags: Shows feature rollouts and experiments used together in a real application.
- openfeature.dev/ecosystem/?instant_search%5BrefinementList%5D%5Bcategory%5D%5B0%5D=Server-side&instant_search%5BrefinementList%5D%5Btechnology%5D%5B0%5D=JavaScript&instant_search%5BrefinementList%5D%5Btype%5D%5B0%5D=Provider: GrowthBook is available behind the portable OpenFeature API.
Needed by many5.8
How many developers need a tool for this job?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Feature flags are a common need in production web apps and services, but many small projects never use them. The SDK runs in browsers, Node and edge runtimes and is not tied to a framework. Its added experimentation features matter to a smaller group of teams.
- docs.growthbook.io/lib/js: One SDK for the browser and the server, with plugins and remote evaluation.
- Feature flag adoption: Flags are common in product teams but rare in hobby projects.
GPT-6.2 Sol: 6.1, likely 4.9 to 7.2
Controlled rollouts and kill switches are useful to a large share of teams that deploy web products. GrowthBook covers browsers and Node.js and is especially relevant to teams that also run experiments. Available surveys give a sense of how teams use flags, while the share of JavaScript and TypeScript developers who need a dedicated SDK remains uncertain.
- arxiv.org/abs/1907.06157: Practitioners from 38 companies describe feature flag uses and management practices.
- cms.harness.io/reports/Harness-State-of-Software-Engineering-Excellence-2025.pdf: Engineering survey finds uneven adoption of flags and flag management processes.
- docs.growthbook.io/lib/js: Browser and TypeScript support for flag evaluation and experiments.
- docs.growthbook.io/lib/node: The same package supports server-side evaluation in Node.js.
Helps a lot7.9
How well does it do the job for those who need it?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
The SDK evaluates flags locally and supports SSE streaming, sticky bucketing, remote evaluation, plugins and strict TypeScript typing since 2.1. Its main extra is experiment analysis built into the same platform. Users report rough onboarding and hard-to-find docs, and 2.0 changed how type matching works in targeting. LaunchDarkly still leads on enterprise release controls.
- docs.growthbook.io/lib/js: Features, strict typing in 2.1, and the breaking type-strict change in 2.0.
- g2.com/products/growthbook/reviews: Rated 4.6; reviewers report a painful first integration and hard-to-find docs.
- posthog.com/blog/best-growthbook-alternatives: A competitor notes it lacks some advanced LaunchDarkly features.
- npm hasTypes / dependencies: Ships its own types and has one dependency.
GPT-6.2 Sol: 8.3, likely 7.1 to 9.2
Version 2.2.0 handles typed values, targeting, rollouts, and experiments with no network request per local flag check. The docs give developers and coding agents concrete examples for initialization, fallbacks, and request-scoped use. Earlier users reported missed streaming updates, and the maintainers later improved stream setup diagnostics. Current independent performance measurements are scarce, and self-hosted streaming requires a proxy.
- growthbook.io/product-updates: Confirms the 2.2.0 release and typed flags defined in code.
- docs.growthbook.io/lib/js: Typed evaluation, fallback payloads, and streaming requirements.
- docs.growthbook.io/lib/node: Shared client and request-scoped evaluation examples.
- github.com/growthbook/growthbook/issues/4031: Multiple reports on 1.x and a maintainer follow-up describing a fix.
Holds up over time7.9
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The repository is very active, with 1,836 commits, 163 contributors, 7 platform releases and 8 SDK versions in the last year. A venture-funded company stands behind it, with a Series A of about $22.6M in 2025 and thousands of paying customers. Platform major releases claim no breaking changes. The SDK 2.0 type change shows that upgrades can still need care. The 544 open issues and 377 open pull requests show a large backlog.
- github commitsLastYear / contributors: 1,836 commits from 163 contributors.
- npm latestPublishedAt: SDK 2.2.0 published 2026-11-18.
- github.com/growthbook/growthbook/releases: Releases v4.0 through v5.2.1; 5.0 states no breaking changes.
- cbinsights.com/company/growthbook/financials: Series A of about $22.6M in July 2025.
GPT-6.2 Sol: 7.8, likely 6.5 to 8.9
The company has venture backing, and the JavaScript SDK published eight versions in the past year. The 2.0 upgrade changed targeting comparisons and some rollout assignments, so existing rules need review before upgrading. The documented release process is manual, and monorepo activity gives limited visibility into SDK response times or how many people can publish.
- npm versionsLastYear and latestPublishedAt: Eight SDK versions in a year, with the latest on November 18, 2026.
- sec.gov/Archives/edgar/data/2075367/000207536725000001/xslFormDX01/primary_doc.xml: GrowthBook reported approximately $22.6 million in equity sold.
- github.com/growthbook/growthbook/blob/main/packages/sdk-js/CHANGELOG.md: Documents breaking targeting and bucketing changes in 2.0.
- github.com/growthbook/growthbook/blob/main/CONTRIBUTING.md: Documents manual SDK releases and identifies the packages in the monorepo.
Used widely5.3
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
The SDK has 6.3M downloads in 4 weeks, up 4.1 times from a year ago. That ratio is exactly the median, so it holds ground but does not gain it. Its 608 dependent repos are the most in the bundle, well above Flags SDK (136) and Unleash (73). The vendor SDKs download more, partly from build servers. The 8.6K stars count the whole platform, not only the SDK.
- npm downloadsLast4Weeks: 6.34M now against 1.55M a year ago, a ratio of 4.1, equal to the median.
- dependents repos: 608 repos, the highest among peers.
- github stars: 8,638 stars for the whole platform.
- caplight.com/company/growthbook: Says over 2,900 companies use it.
GPT-6.2 Sol: 4.6, likely 3.1 to 6.1
GrowthBook recorded 6.34 million installs in four weeks, up 4.10× year over year and essentially level with the catalog median. It grew faster than LaunchDarkly and Unleash in the bundle and slower than OpenFeature, Flags SDK, and Statsig. The 608 sampled dependent repositories lead the reported peer counts, while adapters, automated installs, and platform-wide stars make direct adoption hard to size.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio and peers: 6.34 million versus 1.55 million installs, with growth near the 4.1× baseline.
- dependents, peers dependentRepos, github stars and project note: 608 sampled repositories and 12 packages depend on the SDK. Stars cover the full platform.
- raw.githubusercontent.com/growthbook/growthbook/main/packages/sdk-react/package.json: The React package installs the JavaScript SDK as a dependency.
- raw.githubusercontent.com/vercel/flags/main/packages/adapter-growthbook/package.json: The Vercel adapter also installs the JavaScript SDK.
Vouched for6.6
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
Thousands of companies use it, including names like Dropbox. It holds a 4.6 rating on G2 and gets positive self-hosting reports on Hacker News. Vercel's Flags SDK ships an official GrowthBook provider. Most comparison write-ups come from competitors, and independent benchmarks or survey data are thin. Bluesky and Hacker News attention is low.
- g2.com/products/growthbook/reviews: 4.6 from about 26 reviews.
- brianlovin.com/hn/30515940: A Hacker News user is happy self-hosting it and says issues get fixed fast.
- everydev.ai/developers/growthbook: Lists Dropbox as a customer.
- bluesky posts / hackerNews stories: 7 posts and 1 small HN story.
GPT-6.2 Sol: 7.2, likely 5.9 to 8.3
Minds documents how it uses GrowthBook to roll out features, and Trade Republic confirms using it to enable and test app features. Vercel ships a Next.js integration that exercises GrowthBook through Flags SDK. These sources establish practical use, with thinner evidence on satisfaction and performance for the current JavaScript release.
- developers.minds.com/docs/walk-throughs/feature-flags: Minds documents its own GrowthBook flag and experiment workflow.
- assets.traderepublic.com/assets/files/app_privacy_policy_gr.pdf: Trade Republic identifies GrowthBook as its app’s remote configuration and testing service.
- vercel.com/templates/edge-config/growthbook-flags-sdk-example: Vercel publishes a working Next.js example and adapter.
- openfeature.dev/ecosystem/?instant_search%5BrefinementList%5D%5Bcategory%5D%5B0%5D=Server-side&instant_search%5BrefinementList%5D%5Btechnology%5D%5B0%5D=JavaScript&instant_search%5BrefinementList%5D%5Btype%5D%5B0%5D=Provider: OpenFeature lists a vendor-supported JavaScript provider for Node.js.
Safe7.9
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The SDK is MIT-licensed, has one dependency and no known advisories. There is no OpenSSF Scorecard, so we cannot judge how releases are published. The platform's enterprise directories carry a commercial licence, but the SDK does not, and self-hosters received a recent security patch for auth.
- advisories total: Zero advisories.
- npm dependencies / license: One dependency, MIT.
- scorecard: No scorecard data.
- growthbook.io/blog/announcing-growth-book-open-source-release: Most of the platform is MIT; enterprise parts are separate.
GPT-6.2 Sol: 7.7, likely 6.3 to 8.9
The SDK is MIT-licensed, has one runtime dependency, and has zero advisories in the supplied OSV snapshot. GrowthBook also published a patch for a critical issue in its separate self-hosted platform. The missing OpenSSF Scorecard and the documented manual npm publishing process leave uncertainty about release provenance and publisher access.
- npm license, npm dependencies, advisories and scorecard: MIT, one runtime dependency, zero package advisories, and no Scorecard result.
- raw.githubusercontent.com/growthbook/growthbook/main/packages/sdk-js/package.json: The 2.2.0 manifest confirms MIT and a single runtime dependency.
- github.com/growthbook/growthbook/blob/main/CONTRIBUTING.md: Maintainers document a manual npm publish step.
- linen.growthbook.io/t/34304363/important-security-update-v5-0-1-today-we-shipped-growthbook: GrowthBook announced a patch for affected self-hosted platform deployments.
Good
- The SDK has one dependency, evaluates flags locally from a cached JSON payload, and supports streaming updates and sticky bucketing.
- The platform is MIT-licensed for most of its code and can be self-hosted for free, which avoids lock-in to a closed vendor.
- Flags and A/B test analysis on your own warehouse come from one tool.
- Development is very active: 1,836 commits last year and regular platform releases, with an MCP server for AI agents.
Bad
- SDK 2.0 made targeting conditions strict about types, so attributes that pass numbers as strings can stop matching after an upgrade.
- Enterprise features such as SSO and SCIM sit in directories under a commercial licence.
- Self-hosting needs MongoDB and some care with setup; users report that a mismatched domain setup blocks login.
- Users rate it below Unleash for ease of use, and they find setup and documentation harder than some rivals'.
The numbers
- npm downloads, 4 weeks
- 6.3M ×4.1 in a year
- GitHub stars
- 8.6k
- Commits, 12 months
- 1.8k
- npm version
- 2.2.0 Nov 2026
- Versions, 12 months
- 8
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The repository holds the whole GrowthBook platform. The package is its JavaScript SDK.
Read on 21 November 2026 from GitHub (growthbook/growthbook), npm (@growthbook/growthbook), 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