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

x/ayonli_jsext/path/index.ts>resolve

A JavaScript extension package for building strong and modern applications.
Latest
function resolve
import { resolve } from "https://deno.land/x/ayonli_jsext@v0.9.72/path/index.ts";

Resolves path segments into a well-formed path.

This function is similar to join, except it always returns an absolute path based on the current working directory if the input segments are not absolute by themselves.

Parameters

...segments: string[]

Returns

string