os-homedir
Node.js 4 `os.homedir()` ponyfill
Node.js 4 `os.homedir()` ponyfill
Look up environment settings specific to different operating systems
Node.js os.homedir polyfill for older versions of node.js.
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Resolve a directory that is either local, global or in the user's home directory.
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
Get the user home directory with fallback to the system temp directory
Get the path to the user home directory
Operating system specific paths.
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Get home directory path on any platform
Get the passwd user entry from a username or user identifier (UID)
Cross-platform home directory retriever
Find JAVA_HOME on any system
Index generator for Hexo.
Platform agnostic user home directory path resolution for Node.js.
Expand ~/
Provides a helper function to expand a path to a normalized absolute path. This function also expands dot, tilde, and tilde plus when used as the first path segment.
Get the local npmrc with fallback to the global one that's in your home directory
A cross-platform path to the user's home