Skip to main content
Module

x/molt/mod.ts>Dependency

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

Properties of a dependency parsed from an import specifier.

Properties

scheme:
| "http://"
| "https://"
| "file:///"
| "npm:"
| "node:"

The URI scheme of the dependency specifier.

name: string

The name of the dependency.

optional
version: SemVerString

The semver string of the dependency.

optional
path: Path

The subpath of the dependency.

variable Dependency
import { Dependency } from "https://deno.land/x/molt@0.11.3/mod.ts";

type

{ parse(url: URL): Dependency; toURI(dependency: Dependency): URI<"http" | "https" | "npm">; resolveLatest(dependency: Dependency): Promise<LatestDependency | undefined>; }