Skip to main content
Module

std/node/url.ts>fileURLToPath

Deno standard library
Go to Latest
function fileURLToPath
import { fileURLToPath } from "https://deno.land/std@0.102.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