sindresorhus / user-homeView external linksLinks
Get the path to the user home directory
☆159Apr 9, 2021Updated 4 years ago
Alternatives and similar repositories for user-home
Users that are interested in user-home are comparing it to the libraries listed below
Sorting:
- [DEPRECATED] Node.js `os.homedir()` ponyfill☆61Jan 24, 2021Updated 5 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆79Jul 8, 2022Updated 3 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Module to wrap try-catch for better performance and cleaner API.☆22Oct 27, 2016Updated 9 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Apr 12, 2017Updated 8 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 3 weeks ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 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
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Check if a path exists☆155Mar 3, 2022Updated 3 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- 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
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Get a Gravatar image from an identifier, such as an email☆42Sep 10, 2021Updated 4 years ago
- Look up environment settings specific to different operating systems.☆137Dec 18, 2020Updated 5 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 8 years ago