1.1.0 • Published 3 years ago
@code-workers.io/ngx-feature-toggle
Licence
MIT
Version
1.1.0
Deps
1
Size
48 kB
Vulns
0
Weekly
0
@code-workers.io/ngx-feature-toggle
Configure your Angular apps easily with feature flags for e.g. A/B-testing.
Installation
npm install @code-workers.io/ngx-feature-toggle
Usage
You will need to implement a service which implements the FeatureProvider interface and
then provide it with the NGX_FEATURE_PROVIDER token in your app.module. That's it for
the configuration.
To use it you can simply:
<feature *ngxToggleFeature="'feat-a'; or 'feat-b'"> </feature>
Compatibility
- Version 1.x.x is compatible with Angular >= 14.x.x