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

std/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.99.0/path/posix.ts";

Resolves pathSegments into an absolute path.

Parameters

...pathSegments: string[]

an array of path segments

Returns

string