Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function parseEntrypoint
import { parseEntrypoint } from "https://deno.land/x/netzo@v0.2.10/cli/src/utils/entrypoint.ts";

Parses the entrypoint to a URL. Ensures the file exists when the entrypoint is a local file.

Parameters

entrypoint: string
optional
root: string
optional
diagnosticName = [UNSUPPORTED]

Returns

Promise<URL>