beta

node.js package for checking beta flags

npm install beta
1 downloads in the last day
1 downloads in the last week
9 downloads in the last month
node-beta
=========

Beta flags for node.js & express.

```javascript
var Beta = require('beta');
var beta = new Beta({
  userIdentifier: function(req){ return req.session.username; }
});

app.use(beta.middleware());

beta.check('MYFLAG', function(err, on){
});

app.get('/', function(req, res){
  req.beta('MYFLAG', function(err, on){
    if(on)
      // blah
  });

  req.beta(['MYFLAG', 'MYFLAG2'], function(err, flags){
    if(flags.MYFLAG || flags.MYFLAG2)
      // blah
  });
});
```
npm loves you