forked from
npmx.dev/npmx.dev
[READ-ONLY]
a fast, modern browser for the npm registry
1export type DocsStatus = 'ok' | 'missing' | 'error'
2
3export interface DocsResponse {
4 package: string
5 version: string
6 html: string
7 toc: string | null
8 breadcrumbs?: string | null
9 status: DocsStatus
10 message?: string
11}
12
13export interface DocsSearchResponse {
14 package: string
15 version: string
16 index: Record<string, unknown>
17}