tcmts.cli.package_pages

Types

ApiEntry type
PackagePage type
PackageRange type

Server

apiOf (cb: Codebase, alias: string) => ApiEntry[]
The package's exports as its types declare them: the API a definition using it is checked against.
packagePage (cb: Codebase, name: string, range: string) => PackagePage
A package at one range: what it is, its README, its API, and what uses it.
readmeIn (dir: string) => string | undefined

Shared

README RegExp
clip (text: string) => string
kindOf (s: Symbol) => "class" | "enum" | "function" | "interface" | "namespace" | "type" | "value"
packageList (cb: Codebase) => { name: string; ranges: PackageRange[]; }[]
Every package the codebase locks, by name, its ranges newest first; @types packages fold into theirs.
packageUsers (cb: Codebase, name: string, range: string) => { path: string; hash: string; kind: string; signatur…
The named definitions using `name` at `range`.