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

x/next_php/src/deps.ts>path.relative

NextPHP is a web framework enabling you to write PHP in JavaScript.
Latest
function path.relative
import { path } from "https://deno.land/x/next_php@1.1.2/src/deps.ts";
const { relative } = path;

Return the relative path from from to to based on current working directory.

Parameters

from: string

path in current working directory

to: string

path in current working directory

Returns

string