1.0.0 • Published 9 years ago
pick-next v1.0.0
pick-next
Tiny JS module to pick 'next' thing from list of things.
usage
var Picker = require('pick-next');
var colors = new Picker({list: ['red', 'blue', 'green']});
colors.next() // red
colors.next() // blue
colors.next() // green
colors.next() // red...
1.0.0
9 years ago