Get a random item from an array
☆58Mar 28, 2022Updated 3 years ago
Alternatives and similar repositories for random-item
Users that are interested in random-item are comparing it to the libraries listed below
Sorting:
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Generate a random float☆37Apr 18, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 4 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Generate a random integer☆89Sep 15, 2025Updated 5 months ago
- Get consecutively unique elements from an array☆77May 18, 2024Updated last year
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Nov 4, 2023Updated 2 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Sum numbers☆10Sep 18, 2025Updated 5 months ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Node.js 0.12 fs.access() & fs.accessSync() ponyfill☆13Oct 30, 2023Updated 2 years ago
- Get user info from a GitHub username☆25Oct 14, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- Generate random numbers that are consecutively unique☆118Apr 8, 2024Updated last year
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- List of text file extensions☆60Oct 29, 2024Updated last year
- Get a Gravatar image☆10Oct 25, 2015Updated 10 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆159Sep 17, 2025Updated 5 months ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Get a Gravatar image from an identifier, such as an email☆42Sep 10, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM)☆22Sep 15, 2025Updated 5 months ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago