1.0.4 • Published 3 years ago

iff v1.0.4

Weekly downloads
10
License
Apache-2.0
Repository
-
Last release
3 years ago

Disclaimer: This project is in a design phase, and is not usable right now.

iff: Feature Flags for User Interfaces

Feature flags are an incredible tool for buulding and shipping software. iff provides a javascript client for using feature flags in User Interfaces, agnostic of the backing service.

Read this explainer for more details on its implementation design.

Install

npm install iff

Usage

import iff from 'iff';

const value = iff('flag-name', defaultValue);

Setup

Tools

  • iff scan: Scan a codebase and output an array of all used flags. Used to make sure only used flags in an application are fetched from a service
  • iff outdated: Scan a codebase, and output which flags are at 100%/full rollout in a service. Used to cleanup old flags and unused code branches from a codebase.

Thanks

Thanks to Jon Brennecke for giving us the package name iff.

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.2

10 years ago

0.0.1

10 years ago