sindresorhus / array-shuffleLinks
Randomize the order of items in an array
☆105Updated 2 years ago
Alternatives and similar repositories for array-shuffle
Users that are interested in array-shuffle are comparing it to the libraries listed below
Sorting:
- Check if argv has a specific flag☆95Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Filter object keys and values into a new object☆102Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Get consecutively unique elements from an array☆74Updated last year
- Lazy number range generator☆81Updated last year
- Map of nouns to their irregular plural form☆89Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Convert a value to an array☆129Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Get the user's default shell☆40Updated 3 years ago
- Toggle the CLI cursor☆110Updated 11 months ago
- Prints the current date and time as a UNIX timestamp or custom format☆47Updated 3 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Create an array without duplicates☆71Updated 4 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Check if a value is a plain object☆102Updated last year
- Check if a string is a valid filename☆62Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Copy a file☆121Updated last year