Skip to content

thomjoy/pick-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

Tiny JS module to pick 'next' thing from list of things.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published