Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/mod.ts>ReleaseClient#getReleases

Various HTTP clients for miscellaneous use.
Latest
method ReleaseClient.prototype.getReleases
import { ReleaseClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/mod.ts";

Gets the given page where each page quantity is the given qtyPerPage, for a repository with a name that matches the given ReleaseClient.this.repoName,

Parameters

page: number

The name of the repository to get the releases for.

qtyPerPage: number

The page number of the results to get.

Returns

Promise<ReleaseModel[]>

The releases for the given repository and page.