randomize-array

Good 'ol fashion array randomizing!

Usage no npm install needed!

<script type="module">
  import randomizeArray from 'https://cdn.skypack.dev/randomize-array';
</script>

README

Randomize Array

You like arrays? You like randomness? Well have I got a deal for you! Introducing randomize-array! For the low-low price of an npm install you too can enjoy the fabulous life of having your arrays randomized in no time. And we're not talking just any randomization - we're talking vanilla JavaScript randomization! What does that exactly mean? Who cares! Stop asking silly questions and get your array randomized today!

Installation

npm install randomize-array

Usage

// Import this fabulous utility.
const randomize = require('randomize-array')

// A nice array. A neat array. We're talking ocd-everything-in-place array.
const allInPlaceOcdStyle = [1, 2, 3, 4, 5, 6]

// Sit back and enjoy the randomized show.
const iNeedChaos = randomize(allInPlaceOcdStyle)

Thank you for using randomized-array. All sales are final. No refunds whatsoever. Exchanges or store credit within 10 days only. See developer for details.