sindresorhus / array-shuffleLinks
Randomize the order of items in an array
☆108Updated last month
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 your code is running as an npm or yarn script☆64Updated last month
- Check if argv has a specific flag☆93Updated 4 years ago
- Check if your package was installed globally☆69Updated last year
- Filter object keys and values into a new object☆104Updated last year
- Exit the process when the `esc` key is pressed☆57Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Lazy number range generator☆82Updated last year
- Copy a file☆121Updated 2 months ago
- Map of nouns to their irregular plural form☆89Updated last month
- Truncate a string to a specific width in the terminal☆87Updated last month
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆142Updated last month
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Get a random temporary file path☆80Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆129Updated last month
- Ensures a value is a valid error by making it one if not☆79Updated last month
- Create a hash for file revving☆106Updated last year
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆144Updated last month
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get the user's default shell☆40Updated last month
- Replace all substring matches in a string☆89Updated 4 years ago
- Check if a string is a valid filename☆62Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆64Updated last month
- Parse milliseconds into an object☆122Updated last year
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Get the path of the parent module☆78Updated last month
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check whether a package or organization name is available on npm☆171Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago