Pick random items from a list
☆57Aug 10, 2021Updated 4 years ago
Alternatives and similar repositories for pick-random
Users that are interested in pick-random are comparing it to the libraries listed below
Sorting:
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated last year
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 5 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 4 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Extract the article title of a HTML document☆56Sep 9, 2025Updated 5 months ago
- Strip UTF-8 byte order mark (BOM)☆22Sep 15, 2025Updated 5 months ago
- Park-Miller pseudorandom number generator (PRNG)☆55Sep 10, 2025Updated 5 months ago
- Create a MD5 hash with hex encoding☆48Nov 6, 2023Updated 2 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Normalize the newline characters in a string to `\n`☆30Sep 16, 2025Updated 5 months ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Pick random items from a list☆17Aug 10, 2021Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆26Aug 10, 2021Updated 4 years ago
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 4 years ago
- Check if a string is a valid filename☆62Aug 16, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Display a notification (macOS 10.9+)☆90Nov 13, 2025Updated 3 months ago
- Filter object keys and values into a new object☆105May 27, 2024Updated last year
- Get the UTI (Uniform Type Identifier) of a file on macOS☆23Aug 12, 2021Updated 4 years ago
- Regular expression for matching reserved filename characters☆53Sep 14, 2025Updated 5 months ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 3 months ago
- Get the path to this package - Useful for testing☆22Aug 9, 2021Updated 4 years ago