Search results
23 packages found
Node.js os.homedir polyfill for older versions of node.js.
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
A cross-platform path to the user's home
Convert a tilde path to an absolute path: `~/dev` → `/Users/john/dev`
Return the current user's home directory.
Get the user home directory with fallback to the system temp directory
Replace user home in a string with another string. Useful for tildifying a path.
Convert an absolute path to a tilde path: `/Users/YourUserName/dev` → `~/dev`
- tilde
- expansion
- expand
- commonjs
- tildify
- unexpand
- homedir
- collapse
- convert
- path
- home
- directory
- user
- shell
- View more
Return the current user's home directory.
A simple utility to get the cross-platform user home directory
Platform agnostic user home directory path resolution for Node.js.
Get the local npmrc with fallback to the global one that's in your home directory
Returns the current user's home directory.
List all files in the home directory
Obtain the user home directory and fallback to the system temp directory if don't exist.
> Replace '~' with user home path.
Platform agnostic user home directory path resolution for Node.js.
Get the path to the user home directory