Skip to main content

github.listrepositoriesforuserprops

Home > @runlightyear/github > ListRepositoriesForUserProps

ListRepositoriesForUserProps interface

Signature:
interface ListRepositoriesForUserProps 

Required Properties

PropertyModifiersTypeDescription
usernamestringThe handle for the GitHub user account.

Optional Properties

PropertyModifiersTypeDescription
direction?"asc" | "desc"The order to sort by. Default: asc when using full_name, otherwise desc.
page?number

Page number of the results to fetch.

Default: 1

perPage?number

The number of results per page (max 100).

Default: 30

sort?"created" | "updated" | "pushed" | "full_name"

The property to sort the results by.

Default: full_name

type?"all" | "owner" | "member"

Limit results to repositories of the specified type.

Default: owner