announcements
Introducing the Zenmanage JavaScript SDK
The Zenmanage JavaScript SDK makes it incredibly simple to add feature flags to your JavaScript and TypeScript applications. With support for both Node.js and browsers, comprehensive TypeScript definitions, and a ~1ms evaluation time, you can manage feature rollouts, A/B tests, and configurations with ease.
We are excited to announce the release of the Zenmanage JavaScript SDK! This is a major milestone for our platform as we continue expanding our SDK ecosystem to support more languages and environments.
What is Zenmanage?
For those new to Zenmanage, it's a feature flagging platform designed with the developer experience in mind. Zenmanage empowers developers to better manage the software development lifecycle, reduce risks, and iterate faster. At the same time, it provides product managers and company leadership with the visibility and control they need to make informed decisions about feature releases.
With Zenmanage, you can create and manage feature flags across multiple environments, target specific users or organizations with rules and segments, conduct A/B tests to drive better product decisions, and track the entire lifecycle of your flags with comprehensive audit trails.
Why JavaScript?
JavaScript and TypeScript power both frontend and backend applications. Whether you're building a Node.js server, a React web application, a Vue component, or even a vanilla JavaScript frontend, feature flags are essential for managing your feature releases safely and effectively. The Zenmanage JavaScript SDK now makes this possible for the entire JavaScript ecosystem.
Key Features of the SDK
Lightning-Fast Evaluation
Feature flag evaluation happens locally with rules cached on your application, resulting in incredibly fast ~1ms evaluation times. This means you can check feature flags without worrying about performance impact on your user experience.
Universal JavaScript Support
The SDK works seamlessly in both Node.js (16+) and modern browsers. Whether you're building backend APIs, server-rendered applications, or client-side SPAs, Zenmanage has you covered with consistent APIs across all environments.
Powerful Targeting and Segmentation
Use contextual information—such as user IDs, geographic locations, subscription plans, or custom attributes—to target features to specific users, organizations, or segments. Create sophisticated rules that automatically apply based on context attributes without manual user management.
Multiple Cache Backends
The SDK provides flexibility in how you cache rules. Choose memory caching for most applications and serverless functions, filesystem caching for long-running Node.js servers, or disable caching entirely for testing and debugging.
A/B Testing and Experimentation
Run experiments by creating different string and number flag variants for different user segments. Gather data and insights to make better product decisions without deploying code changes.
TypeScript-First Development
Built with TypeScript and featuring complete type definitions, the SDK provides excellent IDE support and type safety. Catch flag-related errors at compile time rather than runtime.
Flexible Flag Types
Work with boolean flags for feature toggles, string flags for configuration variants (like theme selections), and numeric flags for quota management. All with type-safe accessor methods.
Production-Ready Error Handling
The SDK includes graceful fallbacks and comprehensive error handling. Always provide default values to ensure your application continues to work even if the Zenmanage API is temporarily unavailable.
Getting Started
Getting started is incredibly simple. Install the SDK from npm:
npm install @zenmanage/sdk
Then initialize it with your environment token:
import { Zenmanage, ConfigBuilder } from '@zenmanage/sdk';
const zenmanage = new Zenmanage(
ConfigBuilder.create()
.withEnvironmentToken('tok_your_token_here')
.build()
);
const flag = await zenmanage.flags().single('new-dashboard');
if (flag.isEnabled()) {
// Show new dashboard
} else {
// Show old dashboard
}
That's it! You're ready to manage feature flags in your JavaScript application.
Common Use Cases
The JavaScript SDK supports a wide range of use cases:
Gradual Feature Rollouts
Roll out new features to a subset of users first, expanding the rollout as you verify stability and performance. De-risk your deployments by controlling who sees new features.
Progressive Enhancement
Incrementally add new UI components or functionality to your application, ensuring a smooth transition for your users.
Organization-Based Feature Access
Manage which organizations or teams have access to premium features, enterprise analytics, or beta programs through targeting rules.
Beta Programs
Control access to beta features using context-based targeting, allowing you to invite specific users into your beta programs without code changes.
Expanding Our SDK Ecosystem
The JavaScript SDK continues our commitment to supporting developers across multiple platforms. We currently offer SDKs for PHP, Laravel, and now JavaScript. More language SDKs are in development, so stay tuned.
Learn More
Ready to get started? Check out the comprehensive documentation and examples:
- GitHub Repository - View the source code, contribute, and explore examples
- SDK Libraries - Discover all available SDKs for different platforms
- Documentation - Comprehensive guides and API reference
The JavaScript SDK is ready for production use. We've tested it extensively in both Node.js and browser environments. Whether you're managing a small application or a large-scale enterprise system, Zenmanage JavaScript SDK is here to help you manage feature flags with confidence.
Thank you for using Zenmanage! We're excited to have the JavaScript community as part of the Zenmanage family. If you have any questions, feedback, or feature requests, please don't hesitate to reach out to us at hello@zenmanage.com or open an issue on GitHub.
Happy flagging! 🚀