@mikelgo/ngx-feature-toggle
TypeScript icon, indicating that this package has built-in type declarations

14.1.1 • Public • Published

ngx-feature-toggle

Configure your Angular apps easily with feature flags for e.g. A/B-testing.

Installation

npm install @mikelgo/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 14.x.x is compatible with Angular >= 14.x.x

Package Sidebar

Install

npm i @mikelgo/ngx-feature-toggle

Weekly Downloads

0

Version

14.1.1

License

none

Unpacked Size

48.7 kB

Total Files

19

Last publish

Collaborators

  • mikelgo