shuffle-list

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i shuffle-list

Weekly Downloads

472

Version

1.0.0

License

MIT

Last publish

Collaborators

  • emiljohansson