flipper-js

    1.0.2 • Public • Published

    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');
               });

    Install

    npm i flipper-js

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • mattdelliott