Skip to main content

RolloutJS

Feature flags and gradual rollout, powered by your app.
Open-source, full-stack and framework-agnostic.

import { Rollout } from "rolloutjs";
import { RolloutExpress } from "@rolloutjs/express";
import { PostgresStore } from "@rolloutjs/postgres";

const rollout = Rollout(
PostgresStore(process.env.YOUR_DB_URL),
);

app.use(
RolloutExpress(rollout, {
adminMiddleware: (req, res, next) => {
...
},
}),
);

Use feature flags everywhere with first-class OpenFeature support.

import { OpenFeature, OpenFeatureProvider } from "@openfeature/react-sdk";
import { OFREPWebProvider } from "@openfeature/ofrep-web-provider";

OpenFeature.setProvider(
new OFREPWebProvider({
baseUrl: process.env.YOUR_BACKEND_URL
}),
);

<OpenFeatureProvider>
...
</OpenFeatureProvider>

...
import { useFlag } from '@openfeature/react-sdk';

const { value: myFeatureEnabled } = useFlag("my-feature", false);

Feature flags

Control releases by hiding new features behind flags. Release without pushing code.

Segmentation

Roll out gradually and target specific user groups with your own rules.

Admin dashboard

Use the built-in dashboard to manage features and rules or build your own with the REST API and admin SDK.

Full control

Lives inside your app. Uses your database. Protected by your auth. Open source. No vendor lock-in.

Built on OpenFeature

Implements the OpenFeature Remote Evaluation Protocol (OFREP) standard for feature flags.

Works with your stack

Supports multiple frameworks and databases out of the box. Use feature flags everywhere from server to web and mobile.