Built for modern development teams
A complete platform for feature management, experimentation, and progressive delivery. Everything you need to ship fast and safely.
Feature Management
Feature Flags
Toggle features on or off per environment with instant propagation. Support for boolean, string, number, and JSON flag types. Manage flags across development, staging, and production environments from a single dashboard.
- Boolean, string, number, and JSON value types
- Per-environment overrides
- Instant propagation with webhooks
- Kill switch for emergencies
- Flag dependencies and prerequisites
import { ToggleTest } from '@toggletest/node' const client = new ToggleTest('sdk-key') // Check if feature is enabled const enabled = await client.isEnabled( 'new-checkout-flow', { userId: user.id } ) if (enabled) { showNewCheckout() }
Percentage Rollouts
Gradually roll out features to a percentage of your user base. Start with 1% and scale to 100% while monitoring for errors, performance regressions, and user impact.
- Sticky bucketing for consistent experiences
- Gradual ramp-up with scheduling
- Automatic error rate monitoring
- Performance baseline comparison
- One-click rollback
// Dashboard configuration const rollout = { flag: 'redesigned-nav', percentage: 25, // Ramp up schedule schedule: [ { day: 1, pct: 5 }, { day: 3, pct: 25 }, { day: 7, pct: 50 }, { day: 14, pct: 100 }, ] }
User Targeting
Deliver personalized experiences by targeting users based on attributes, segments, or individual identifiers. Build complex rules with AND/OR logic and nested conditions.
- Attribute-based targeting
- Custom user segments
- Individual user overrides
- AND/OR rule logic
- Custom properties support
// Target beta users in US client.createRule({ flag: 'ai-feature', conditions: [ { attr: 'plan', op: 'in', values: ['pro', 'team'] }, { attr: 'country', op: 'eq', values: ['US'] } ] })
Experimentation
A/B Testing
Run experiments with built-in statistical analysis. Define conversion events, set traffic allocation, and get statistically significant results with automated calculations.
- Multi-variant testing (A/B/C/n)
- Bayesian and Frequentist analysis
- Automatic sample size calculation
- Revenue and engagement metrics
- Sequential testing support
const variant = await client.experiment( 'checkout-redesign', { userId: user.id } ) if (variant === 'control') { renderClassicCheckout() } else { renderNewCheckout() } // Track conversion client.track('purchase', { userId: user.id, revenue: 49.99 })
Conversion Tracking
Track conversion events from your frontend and backend. Define custom goals, set up funnels, and measure the impact of every feature and experiment on your KPIs.
- Client and server-side event tracking
- Custom conversion goals
- Funnel analysis
- Revenue attribution
- Real-time results dashboard
import { useToggleTest } from '@toggletest/react' function CheckoutButton() { const { track } = useToggleTest() return ( <button onClick={() => { track('purchase', { revenue: cart.total, items: cart.count }) }}> Complete Order </button> ) }
Analytics Dashboard
Visualize flag usage, experiment results, and feature adoption in real time. Drill down into segments, compare variants, and export data for deeper analysis.
- Real-time flag evaluation metrics
- Experiment results with confidence intervals
- Segment-level breakdowns
- CSV and API data export
- Custom date range selection
// REST API for analytics GET /api/v1/flags/metrics // Response { "flag": "new-checkout", "evaluations": 1284503, "true_pct": 0.45, "false_pct": 0.55, "latency_p99": "3.2ms" }
Platform & Infrastructure
Edge Evaluation
Flag evaluation runs locally inside your application via a portable WASM engine. No network round-trip needed — evaluations complete in under 1 microsecond, with zero impact on your application's performance.
- WASM-powered local evaluation
- Sub-microsecond flag checks (benchmarked)
- No network dependency at evaluation time
- Local caching with streaming updates
- Offline mode support
// Edge worker evaluation import { evaluate } from '@toggletest/edge' export default { async fetch(req) { const flags = await evaluate({ key: 'sdk-key', user: getUserCtx(req) }) // evaluated locally via WASM return Response.json(flags) } }
SDK Support
Type-safe SDKs for TypeScript/Node.js, Python, Go, and React — all powered by the same portable WASM evaluation engine. Every SDK includes local caching and streaming updates.
- TypeScript / Node.js
- React
- Python
- Go
- REST API for any language
# Install for your platform npm i @toggletest/sdk npm i @toggletest/react pip install toggletest go get github.com/toggletestsdk/sdk-go // TypeScript const enabled = await client.isEnabled('my-feature')
Security & Compliance
Security built in from day one with SSO/SAML, role-based access control, and comprehensive audit logging. Your data is encrypted at rest and in transit.
- SSO / SAML authentication
- Role-based access control
- Comprehensive audit logs
- Data encryption at rest & in transit
- API key scoping and rotation
// Audit log entry { "event": "flag.updated", "actor": "[email protected]", "flag": "checkout-v2", "changes": { "enabled": true, "rollout": "5% -> 25%" }, "ip": "192.168.1.1", "timestamp": "2025-..." }
Works with your stack
Integrates with the tools and frameworks you already use.
Manage everything from your terminal
The ToggleTest CLI lets you create, toggle, and manage feature flags, A/B tests, and segments without leaving your terminal. Perfect for automation, CI/CD pipelines, and power users.
- Create and toggle feature flags instantly
- Manage A/B tests and segments
- JSON output for scripting and automation
- Works on Windows, Linux, and macOS
# Login to your account $ toggletest login --email [email protected] ✓ Logged in as [email protected] # Create a new feature flag $ toggletest flags create --name "New Checkout" --key new-checkout ✓ Created flag 'new-checkout' # Toggle it on $ toggletest flags toggle new-checkout --on ✓ Flag 'new-checkout' is now enabled # List all flags (JSON output for scripting) $ toggletest flags list --json [{"key":"new-checkout","enabled":true},...]
Ready to ship features with confidence?
Get started with ToggleTest for free. No credit card required.