1.0.31 • Published 1 year ago

@carte_907/gitty-api v1.0.31

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Gitty API

gitty api is a set of functions that allows you to interface with your github repositories at a high level.

API token

gitty api uses your api token to make requests. Please set an environment variable called GH_API_TOKEN set to your token to successfully call these functions.

Install

use npm to install this package

npm i @carte_907/gitty-api

Usage

Get all of a user's repositories

let projects = await getAllRepos('[user]')

Get Repositories with at least a certain number of forks

let moreThan4Forks = await getReposWithForks('[user]', 5) // 5 or more forks

Get Repositories with at least a certain number of stars

let popularRepositories = await getReposWithStarts('[user]', 1000) // 1000 or more stars
1.0.31

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago