mattdelliott / flipper

Simple feature flipping mechanism for node and the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flipper

Simple feature flipping mechanism for node and the browser

Usage:

    var flipper = require('flipper');
    
    flipper.register('my-feature')
           .setCheck(function(context, done){
               //some async method to determine if it should be flipped
               done(true);
           })
           .setFlipped(function(){
               alert('flipped');
           })
           .setUnflipped(function(){
               alert('unflipped');
           });

About

Simple feature flipping mechanism for node and the browser


Languages

Language:JavaScript 100.0%