#1 solutionFeature flags for Express.js

Optimize your Express.js development and ship code faster and safer with feature flags. Tggl lets you deploy code when it is ready and release it when you are.

Express.js logo
+
Tggl logo

Trusted by

Swan logoSellsy logoRise up logoStoik logoYuno logoSlowy logoAlgoan logoEquify logoGoelo logo

Express.js SDKGet up and running quickly with our easy-to-use Express.js SDK.

With Tggl, you can quickly adopt best practices and implement feature flags in your Express.js app with minimal code using our SDK.

1. Install the SDK

npm i tggl-client

2. Create the client

import { TgglClient } from 'tggl-client'
 
const client = new TgglClient('YOUR_API_KEY')

3. Start using feature flags

app.use(async (req, res, next) => {
  req.flags = await client.evalContext({
    userId: 'foo',
    email: 'foo@gmail.com',
  })
  next()
})
 
app.get('/my/path', (req, res) => {
  if (req.flags.isActive('my-feature')) {
    res.send('A')
  } else {
    res.send('B')
  }
})

You can work with the API or choose to do local flag evaluation to evaluate millions of flags per second. The SDK also supports live configuration updates.

Written in Typescript

Types are automatically pulled from the API and are available in your IDE. Nor more guessing what the return type of a flag is, all typos are picked-up by your IDE and CI build process.

Typesafe node

Express.js SDK documentation

Best in class UIEasy to use interface, even for non-technical users

Empower product and marketing teams to experiment within safe boundaries set by your engineering team.

Your app is instantly updated when a flag is updated, no need to write code and deploy the new version.

Feature flag conditions based on plan type

PerformanceAPI or local flag evaluation

API flags evaluation

A single API call to evaluate all flags

Tggl lets you evaluate all flags in a single round trip to our servers using our robust and highly performant API.

You can also evaluates thousands of users at once by batching all your calls in a single HTTP request.

Read the documentation
Local flags evaluation

Local flags evaluation on your backend

Evaluate millions of flags a second locally without making a single API call. You data never sees our servers and you can evaluate flags a millisecond.

As resilient as it can be, if the Tggl API ever goes down, you can still evaluate flags locally based on the last successful sync.

Read the documentation

What our clients have to say about us

quote left
I've been using AB tests from day one to take business decisions and Tggl was at the center of this strategy. The tech flexibility they provide (worker implementation, client side flag resolution, backend proxy, versioned library, type safety...) and their customer support make them extremely reliable and state of the art.
quote right
Loïck Le Digabel profile pictureLoïck Le Digabel, CTPO & Co-founder @ Slowy

We value privacy and security

GRPR compliant

GDPR compliant

Tggl's robust data handling practices ensure GDPR compliance, safeguarding user privacy and data security.

Data stored in EU

Data stored in EU

Tggl securely stores data within the European Union, adhering to stringent data protection standards and regulations.

Your data dont reach our servers

Your data never reaches our servers

Use the open source Tggl proxy on your own infrastructure to ensure that your data never leaves your servers.

Two-factors authentification

Two-factor authentication

Enable two-factor authentication (2FA) to greatly improve your security posture on Tggl!

Custom roles

Custom roles

Assign granular access permissions to ensure the right people have the right access.

Feature flags history

Flag history

Precisely track what changes were made, who made them, and easily rollback to a previous configuration.

Start implementing feature flags in Express.js

You can start using Tggl for free and see results in less than 3 minutes. The platform provides extensive documentation to guide you through the initial setup, and its Express.js SDK simplifies the integration process. With Tggl, you can quickly implement feature flags and begin managing your deployments without a steep learning curve.

Get startedNo credit-card required
Get started video preview

See how we stack up against the competition

For a comprehensive overview of feature flag tools tailored for Express.js, be sure to check out our detailed comparison guide. It provides an in-depth look at various options, comparing their features, ease of use, and pricing to help you find the best fit for your needs. This guide is designed to give you all the information you need to make an informed decision.