n-shuffle

1.0.4 • Public • Published

nano-shuffle

Fast'n'tiny shuffle array function, Durstenfeld shuffle algorithm. Copy-pasta from stackoverflow.

Install

npm install n-shuffle

Use

import shuffle from 'n-shuffle';

const list = [1, 2, 3];
shuffle(list);

Readme

Keywords

Package Sidebar

Install

npm i n-shuffle

Weekly Downloads

0

Version

1.0.4

License

Unlicense

Unpacked Size

2.38 kB

Total Files

4

Last publish

Collaborators

  • rap2hpoutre