Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/yxz/path/mod.ts>Path.home

Deno Standard Extensions
Latest
method Path.home
import { Path } from "https://deno.land/x/yxz@0.32.0/path/mod.ts";

Returns path representing the user’s home directory.

If the home directory can’t be resolved, throw error.

Parameters

...pathSegments: string[]