Control access to features in your application.
@repo/feature-flags
package, so you can import and use it in as many projects as you’d like.
We’ve created an intelligent function called createFlag
that you can use to create new flags, complete with authentication, PostHog integration and Vercel Toolbar overrides without the hassle.
FLAGS_SECRET
, you can run node -e "console.log(crypto.randomBytes(32).toString('base64url'))"
or openssl rand -base64 32
in your terminal to generate a random value.showAnalyticsFeature
that will be enabled for all users:
@repo/feature-flags
package and use it like a normal boolean value.
false
.