sindresorhus / somebodyView external linksLinks
Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`
☆37Aug 9, 2021Updated 4 years ago
Alternatives and similar repositories for somebody
Users that are interested in somebody are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 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
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Get the $PATH from the shell☆79Aug 21, 2025Updated 5 months ago
- Get the default browser☆28Dec 19, 2023Updated 2 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
- Check if your code is running as an npm or yarn script☆66Sep 10, 2025Updated 5 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Get the name of the current operating system☆21Feb 2, 2026Updated last week
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆25Oct 7, 2021Updated 4 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Feb 19, 2023Updated 2 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆18Aug 9, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Get the path to this package - Useful for testing☆22Aug 9, 2021Updated 4 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 3 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Pick random items from a list☆57Aug 10, 2021Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated last week
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago
- Get a Gravatar image from an identifier, such as an email☆42Sep 10, 2021Updated 4 years ago
- A safer `.hasOwnProperty()`☆29Jun 21, 2023Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated last year