Control access to features in your application.
zopio
provides a simple but powerful feature flag system that can be used to:
zopio
implements feature flags using Vercel’s Flags SDK, which is mostly an architectural pattern for working with feature flags. This setup exists in the @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
.