pick

A simple library for picking random elements of arrays

pick - A simple library for picking random elements of arrays

$ node
> var pick = require("pick");
> pick.pick([1, 2, 3]);
1