UNPKG

@js-util/array-shuffle

Version:

Given an array, shuffles a cloned copy, and returns it. (Fisher–Yates method)

30 lines (24 loc) 524 B
{ "name": "@js-util/array-shuffle", "version": "1.0.3", "description": "Given an array, shuffles a cloned copy, and returns it. (Fisher–Yates method)", "keywords": [ "array", "shuffle", "Fisher–Yates" ], "main": "arrayShuffle.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "picocreator", "license": "MIT", "private": false, "repository": { "type": "git", "url": "https://github.com/js-util/array-shuffle.git" }, "engines": { "node": ">=8.0.0" } }