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

x/aleph/server/helpers.ts>toLocalPath

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function toLocalPath
import { toLocalPath } from "https://deno.land/x/aleph@1.0.0-beta.1/server/helpers.ts";

fix remote url to local path. e.g. https://esm.sh/react@17.0.2?dev -> /-/esm.sh/react@17.0.2?dev

Parameters

url: string

Returns

string