Search results
23 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Node.js os.homedir polyfill for older versions of node.js.
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Replace user home in a string with another string. Useful for tildifying a path.
Get the user home directory with fallback to the system temp directory
A cross-platform path to the user's home
Platform agnostic user home directory path resolution for Node.js.
Get the effective user's homedir.
Get the local npmrc with fallback to the global one that's in your home directory
Expand ~/
Return the current user's home directory.
Convert a tilde path to an absolute path: `~/dev` → `/Users/john/dev`
Platform agnostic user home directory path resolution for Node.js.
List all files in the home directory
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
Get the path to the user home directory
Obtain the user home directory and fallback to the system temp directory if don't exist.
A simple utility to get the cross-platform user home directory
Returns the current user's home directory.
Get real home directory.
A simple way to get the home directory based off of different factors