property ResolvedSpecifier.short

The shortest form that resolves back to ResolvedSpecifier.specifier, for listings and TRY lines. Equal to shortenSpecifier(specifier), except for a path, where it is the input itself — a path is anchored to the working directory the CLI was started in, and only the typed form still says so.

Type

string

Usage

import { type ResolvedSpecifier } from "mod.ts";