Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 628 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 628 Bytes

Random Lunch Team

Kiwi Team random lunch grouping tool.

Screenshot

Requirement

  • Node v4 (ES6 feature)

Usage

$ npm install
const config = require('./config');
let Random = require('path/to/random');
let random = new Random(config.members, config.hooks);

// grouping all the members
random.group();

// grouping all the members apart from several members
random.except(['foo', 'bar']).group();

API

Random(members, hooks)

Random.except(members)

Random.group()