Open mesqueeb opened 2 years 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 |
would love a short table with pros/cons of both these libraries to be able to choose better!