niftinessafoot / randomize-array

Re-order an array’s elements with a random sort.

Home Page:https://www.npmjs.com/package/@afoot/randomize-array

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

randomize array

Re-order an array’s elements with a random sort.

usage

import (RandomizeArray) from '@afoot/randomize-array';
const newArray = RandomizeArray([1,2,3]);
console.log(newArray); // Returns [2,3,1] or an other random iteration.

license

MIT © Matthew Smith

made with ❤️ and ☕️ by

Niftiness Afoot! Matthew Smith

About

Re-order an array’s elements with a random sort.

https://www.npmjs.com/package/@afoot/randomize-array

License:MIT License


Languages

Language:JavaScript 76.9%Language:TypeScript 23.1%