dcdr

2.0.0 • Public • Published

dcdr-js

VSCO’s DCDR (Decider) package for Node.js

Build Status

Overview

Decider is a feature flag system with adaptable backends. Read more on the DCDR repo.

Example

var dcdr = require('dcdr');

dcdr.init({ dcdr: { path: '/etc/dcdr/decider.json' } });

if (dcdr.isAvailable('enable_feature')) {
  console.log('feature enabled');
} else {
  console.log('feature disabled');
}

Release

Since we host this package on npm, there are a few steps to follow in order to do a release.

  1. Decide the release type. We follow the semantic versioning (semver) standard. Is it a patch, minor, or major release?
  2. Run npm version <release_type>. This updates the version number in package.json.
  3. Run script/release.
  4. Fill out the release notes. What changed?
  5. Run npm publish. See the docs for more info.

Readme

Keywords

none

Package Sidebar

Install

npm i dcdr

Weekly Downloads

6

Version

2.0.0

License

MIT

Unpacked Size

12.5 kB

Total Files

11

Last publish

Collaborators

  • bshack-vsco
  • bshackelford
  • promiseofcake
  • stateoflux