apiref
query-flags@1.0.0

query-flags  EntryPoint

The query-flags package provides a simple way to enable/disable features based on a query string parameter flags. This is useful for testing features in production.

Functions

FunctionDescription
dangerouslyInjectQueryFlags(flags)Injects the query flags into the module. This is useful for testing.
isQueryFlagEnabled(flagName)Returns true if the flag is enabled in the query string. To enable a flag, add ?flags=flag1,flag2 to the URL.