Join us for Flagship 2024: April 16-17 – Register Now.

Language

JavaScript SDK

Split’s JavaScript SDK provides robust, scalable JS feature flag management, giving any team the power to safely launch features and target them to users.

Why use the Split JavaScript SDK?

Split’s JavaScript SDK brings scalable feature flags to any app, website or experience built with JavaScript. Split helps teams control rollouts, and customer experiences, while gathering new data and insight on how their products are being engaged.

Front-end teams are always experimenting with new things, trying to make the website, the app, or the business more successful. But each new experiment or quickly-turned-around feature introduces risk—that response times will be slower, that a change in the funnel will add friction, that your users simply may not like the change. Split’s JavaScript SDK puts all of these issues under your control, by letting you:

  • Release features to production but disabled for all users by default
  • Target new features only to internal QA teams
  • Slowly roll out features to a broader audience by percentage, demographic, geography, account type, or any other metric
  • Kill features with a single click to revert back to your safe state

Split uses feature flags in Java to work across many different languages, and lets developers, PMs and support teams control feature rollout from one unified view—and monitor the success of any new code. Our integrations bring rollout updates into the tools your team is already using, further opening the feature-delivery process up to your entire organization.

Using Split Feature Flags with JS Frameworks

Split’s JavaScript SDK works with today’s most popular JS frameworks right out of the box invocation, with no extra steps necessary. This includes popular favorites like Ember, AngularJS, Backbone and React.

Check out our tutorial to get started building feature flags in React in 10 minutes.

Split Node.js SDK

Node.js is a runtime environment, not a framework, and has its own special considerations that must be taken into account to properly execute feature flagging. Because of this, Split has its own Node.js SDK.

Our Node.js SDK is published using NPM, so you don’t have to change your existing workflow to integrate Split. Get started with our Node SDK documentation, or learn more about the package at npmjs.com.

Get Started with Split for JavaScript Feature Flags

All of Split’s SDKs are very simple to integrate into your codebase; that’s no different in JavaScript. All it really takes to get rolling with Split and JS feature flag implementation is initiating the SDK, then splitting your code.

View the documentation and start building today.

See other SDKs

Create Impact With Everything You Build

We’re excited to accompany you on your journey as you build faster, release safer, and launch impactful products.