type alias ScopeListingOptions

Options for listScopePackages.

Properties

readonly
optional
cacheDir: string | null

Directory holding the cache file. Absent means the OS cache directory; null disables the cache in both directions.

readonly
optional
now: number

Current time in milliseconds, for ageing the cache.

readonly
optional
ttl: number

How long a cached listing is served before a refetch, in milliseconds.

Usage

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