Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function parseEntrypoint
import { parseEntrypoint } from "https://deno.land/x/netzo@v0.2.19/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>