Module

std/node/url.ts>fileURLToPath

Deno standard library
Go to Latest
function fileURLToPath
import { fileURLToPath } from "https://dotland.deno.dev/std@0.110.0/node/url.ts";

Get fully resolved platform-specific file path from the given URL string/ object

Parameters

path: string | URL

The file URL string or URL object to convert to a path

Returns

string