GitShow/sindresorhus/array-shuffle
sindresorhus

array-shuffle

Randomize the order of items in an array

by sindresorhus
Star on GitHubForknpm

JavaScript

111 stars10 forks3 contributorsQuiet · 5mo agoSince 2014v4.1.0MIT

Meet the team

See all 3 on GitHub →
sindresorhus
sindresorhus18 contributions
Richienb
Richienb2 contributions
umutfahriozkan
umutfahriozkan1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
mesqueeb
Feature Request: add seed-based shufflingClosedIssue

I'd love to be able to set a seed to then shuffle an array. Where given the same seed, the result of the shuffle will always return the same result.

mesqueeb · 5mo ago
neoncube2
Export function that doesn't clone array?ClosedIssue

Any chance of exporting a version of that shuffles the array in-place, without first cloning it?

neoncube2 · 9mo ago
umutfahriozkan
Some improvementsMergedPR

Read this code comment;

umutfahriozkan · 3y ago
Structured data for AI agents

Repository: sindresorhus/array-shuffle. Description: Randomize the order of items in an array Stars: 111, Forks: 10. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v4.1.0 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, umutfahriozkan.

·@ofershap

Replace github.com with gitshow.dev