Feature-Flipper
Another feature flipper module
TODO: Fill out this long description.
Table of Contents
Install
npm install --save feature-flipper
Usage
const Flipper = ;const flip = ; // Lets add a featureflip; // Use the set method to change the status of a featureflip; // To check if a feature is enabledconsole; // true // To flip the status of the featureflipconsole; // false // To remove the featureflip; // If you have your feature set in a seperate json object / file you can load them inconst featureSet = somefeature: true someOtherFeature: false;flip;console; // false
API
TODO: Fill out API specification.
Middleware
This module can be used to enable/disable endpoints in your restify/express like http server with a middleware like the following.
{ return { ifflip return ; else return res; }} server;
Maintainers
Contribute
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
License
MIT © 2017 Rolf Koenders