easy-shuffle
v1.0.5
Published
npm package to easily shuffles an array.
Readme
Shuffle Array
Simplest shuffle array algorithm.
Installation
$ npm install easy-shuffleUsage
const shuffle = require('easy-shuffle');
const array = [1, 2, 3, 4, 5];
const shuffledArray = shuffle(array);
console.log(shuffledArray) // [ 4, 1, 2, 5, 3 ];License
MIT License. Copyright (c) 2022
