@ms-cloudpack/feature-flags
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@ms-cloudpack/feature-flags

This package is responsible for;

  • Downloading and storing feature flags in a local cache folder at the repository level.
  • Providing an interface for applications to check the status of a feature.

Usage

import { getFeatureFlags } from '@ms-cloudpack/feature-flags';

const featureFlags = getFeatureFlags({ repositoryName: 'my-repository-name', applicationName: 'my-app-name' });

if (featureFlags['my-feature-flag']) {
  // do something new
} else {
  // keep doing the old thing
}

Readme

Keywords

none

Package Sidebar

Install

npm i @ms-cloudpack/feature-flags

Weekly Downloads

31

Version

0.1.1

License

MIT

Unpacked Size

22.5 kB

Total Files

35

Last publish

Collaborators

  • ecraig12345_msft
  • uifabricteam
  • dzearing