https://github.com/qodesmith/randomize-array
Good 'ol fashion array randomizing!
https://github.com/qodesmith/randomize-array
Last synced: about 1 month ago
JSON representation
Good 'ol fashion array randomizing!
- Host: GitHub
- URL: https://github.com/qodesmith/randomize-array
- Owner: qodesmith
- Created: 2018-09-11T00:38:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-11T14:10:46.000Z (almost 8 years ago)
- Last Synced: 2025-06-09T01:35:12.332Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
```bash
npm install randomize-array
```
## Usage
```javascript
// 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.