Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/cli/src/utils/mod.ts>parseEntrypoint

Netzo - roll out internal tools faster
Go to Latest
function parseEntrypoint
import { parseEntrypoint } from "https://deno.land/x/netzo@v0.1.85/cli/src/utils/mod.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>