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
Expand ~/
Find JAVA_HOME on any system
Platform agnostic user home directory path resolution for Node.js.
Index generator for Hexo.
A helper function to expand a path to an absolute path, including expanding the first segment if it matches a shorthand expression, dot (.), tilde (~), or tilde plus (~+).
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