Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/path/posix.ts>resolve

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function resolve
import { resolve } from "https://deno.land/std@0.146.0/node/path/posix.ts";

Resolves pathSegments into an absolute path.

Parameters

...pathSegments: string[]

an array of path segments

Returns

string