shuffle-list

Node module that shuffles the content of an array.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
shuffle-list
1.0.07 years ago7 years agoMinified + gzip package size for shuffle-list in KB

Readme

shuffle-list Build Status
Node module that shuffles the content of an array.

Usage

var shuffleList = require('shuffle-list');

shuffleList([1, 2, 3, 4, 5]);
//=> [4, 3, 2, 5, 1]

API

shuffleList(array)

array

Type: array
The list to shuffle.

License

MIT © Emil Johansson