type alias ScopePackage

One published package of the scope, as JSR describes it.

Properties

readonly
name: string

Short name, e.g. png; prefix @binstruct/ for the JSR coordinate.

readonly
description: string

JSR's one-paragraph description, empty when the package has none.

readonly
latestVersion: string

The version a bare jsr:@binstruct/<name> resolves to today.

Never absent: an entry without one is a reserved name rather than a package, and is dropped by readScopeListing.

Usage

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