Enterprise

Feature Flags

Runtime feature toggles with scoping.

1 min readDocumentationEdit this page

Usage#

typescript
import { FeatureFlagManager } from '@AxilJS/cloud'
 
const flags = new FeatureFlagManager()
 
flags.define({
  name: 'new-checkout',
  enabled: true,
  rolloutPercentage: 50,
  allowedTenants: ['tenant-beta']
})
 
flags.isEnabled('new-checkout', { tenantId: 'tenant-beta', percentage: 30 })

Help improve the documentation

AxilJS is open source and documentation improvements are welcome.

AxilJS DocumentationMIT License · Built by SyntaxilitY