Skip to content

homeDir

homeDir() → string · System

Get the current user's home directory path.

utlx
homeDir()                                // "/Users/alice" or "/home/alice"
{
  home: homeDir()
}

Released under AGPL-3.0.