Skip to content

Commit

Permalink
docs: add links to types
Browse files Browse the repository at this point in the history
  • Loading branch information
velut committed Apr 12, 2024
1 parent 03d19c5 commit fe7812b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/get-abbreviated-packument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ To get all the metadata (full packument) about a package see {@link getPackument
@param name - package name
@param registry - URL of the registry (default: npm registry)
@see {@link AbbreviatedPackument}
*/
export const getAbbreviatedPackument = async (
name: string,
Expand Down
2 changes: 2 additions & 0 deletions src/get-registry-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export type RegistryMetadata = z.infer<typeof RegistryMetadata>;
`getRegistryMetadata` returns the metadata describing the registry itself.
@param registry - URL of the registry (default: npm registry)
@see {@link RegistryMetadata}
*/
export const getRegistryMetadata = async (registry = npmRegistryUrl): Promise<RegistryMetadata> =>
fetchData(RegistryMetadata, registry);
2 changes: 2 additions & 0 deletions src/get-registry-signing-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export type RegistrySigningKeys = z.infer<typeof RegistrySigningKeys>;
`getRegistrySigningKeys` returns the public signing keys used by the registry.
@param registry - URL of the registry (default: npm registry)
@see {@link RegistrySigningKeys}
*/
export const getRegistrySigningKeys = async (
registry = npmRegistryUrl,
Expand Down

0 comments on commit fe7812b

Please sign in to comment.