pazguille / shuffle-array

Randomize the order of the elements in a given array for the browser and node.js.
http://pazguille.github.io/shuffle-array/
MIT License
168 stars 25 forks source link

array-shuffle vs shuffle-array #33

Open mesqueeb opened 2 years ago

mesqueeb commented 2 years ago

would love a short table with pros/cons of both these libraries to be able to choose better!

neoncube2 commented 4 months ago

Just had the same question! :)

My stab at this: Feature shuffle-array array-shuffle
Speed Defaults to shuffling array in-place, so probably faster. Copies array and then shuffles it.
Maintained status Abandoned? Maintained
Supports custom random number generator Yes No
Platform support Maaaaybe only Node.js? (See https://github.com/pazguille/shuffle-array/issues/29 ) Browser and Node.js