Skip to main content
Module

x/molt/mod.ts>URI

Update dependencies the Deno way
Go to Latest
type alias URI
import { type URI } from "https://deno.land/x/molt@0.11.3/mod.ts";

Type Parameters

optional
Scheme extends string = string
optional
Protocol extends string = DefaultProtocol<Scheme>
definition: `${Protocol}${string}`
variable URI
import { URI } from "https://deno.land/x/molt@0.11.3/mod.ts";

type

{ from(path: string | URL, base?: string): URI<"file">; get cwd(): URI<"file">; relative(uri: URI<"file">): RelativePath; absolute(uri: URI<"file">): AbsolutePath; ensure<S extends string>(...schemes: S[]): (uri: string) => URI<S>; is<S extends string>(uri: string, scheme: S): uri is URI<S>; }