1.0.7 • Published 3 years ago

shuffle-my-array v1.0.7

Weekly downloads
239
License
MIT
Repository
github
Last release
3 years ago

Array Shuffle

It's a awesome function to help you to reorder your array elements.

Install

npm i shuffle-my-array

Quick Tour

you can import the library with difference ways

Import the library:

// ESM
import { arrayShuffle } from 'shuffle-my-array';
// or
// commonjs
const { arrayShuffle } = require('shuffle-my-array);

example:

const arr1 = [1, 2, 3, 4];
arrayShuffle(arr1);
// arr1 maybe is [2, 4, 1, 3]
const arr2 = [1]
arrayShuffle(arr2)
// arr2 equal [1]

Contact

My blog is 妙才的博客, also you can send me a email: rivenqinyy#gmail.com,thanks.

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago