1// Scattered across your codebase
2const params = new URLSearchParams(window.location.search)
3const showNewFeature = params.get('enableNewFeature') === 'true'
4
5// Another file
6const betaMode = localStorage.getItem('beta_mode') === 'true'
7
8// Yet another file
9const isDev = process.env.NODE_ENV === 'development'
10
11// Problems:
12❌ Every developer has different URL parameters
13❌ Can't toggle features in production without redeploying
14❌ No way to target specific users
15❌ Breaking production? Too bad, deploy a fix (20+ min)
16❌ QA testing requires remembering magic URLsBuilt for teams who need to move fast without breaking things
One npm install, wrap your app with FlagProvider. That's it. No config files, no complex initialization. Start using flags immediately.
npm install @flagswift/react-clientFeature broke production? One click disables it instantly. No emergency deployments, no waiting for CI/CD, no 3am panic.
Show features to specific users or teams. Perfect for beta testing with your QA team or giving early access to select customers.
Different flag states for dev, staging, and production. Test features locally while keeping them hidden in production.
Server-side emergency controls. Instantly disable all features in case of system overload or critical bugs.
Every flag change is tracked: who changed it, when, what environment, and previous value. Export to CSV/PDF.
We built FlagSwift because we were tired of the same deployment anxiety every team faces
Nobody deploys before weekends. Features wait until Monday "just to be safe"
?enableFeature=true scattered everywhere. Every dev has different URLs
Feature breaks? Wait for CI/CD, pray the rollback works, cross fingers
Can't test with just your QA team. It's all or nothing
Features deploy hidden. Enable Monday morning after coffee. Zero stress
const enabled = useFlag('feature-name') - that's it. Works everywhere
Click toggle. Feature disabled instantly. No deployment, no waiting
Show to QA team first, then beta users, then everyone. Full control
From code to production in three simple steps
const enabled = useFlag('checkout-v2')
if (enabled) {
return <NewCheckout />
}
return <OldCheckout />One simple hook checks if your feature should be shown. Works with any React component.
Deploy with confidence. New features are hidden until you explicitly enable them.
Control who sees what, when. Rollback instantly if something breaks.
How a fintech startup shipped a payment redesign safely
Developer wraps new payment UI with useFlag('payment-v2')
Code ships to production. Flag OFF. Users see nothing.
Enable for testers. They test thoroughly.
Toggle ON. New payment UI live for all users instantly.
Result: If bugs appeared, they could disable it in 2 seconds, Zero risk deployment, No emergency rollback deployments needed.
Two packages, one consistent API
React, Next.js, browser apps
npm install @flagswift/react-clientNode.js, Express, APIs
npm install @flagswift/node-serverFeature flags (also called feature toggles) let you enable or disable features in your app without deploying new code. Perfect for testing, progressive rollouts, and instant rollbacks.
Literally 30 seconds. Install our package, wrap your app, and start using feature flags immediately. No config files or complex setup required.
Yes! One click in the dashboard and your feature is disabled globally in about 2 seconds. No emergency deployments or CI/CD pipelines needed.
The initial setup requires a developer, but anyone on your team can toggle features from the dashboard. No coding needed after setup.
Currently React and Node.js, with support for more frameworks coming soon. Works with Next.js, Express, Fastify, and any JavaScript/TypeScript project.
Join teams who ship features safely with FlagSwift.