github-pinned
v2.2.0
Published
Package for getting pinned github repos
Downloads
16
Readme
With ♥ by Kotiasv
Npm package for getting pinned repos
Usage
First, create new Github client and set your Github token:
import GithubClient from "github-pinned"
const client = new GithubClient()
client.setToken(<TOKEN>)
Then, get user pinned repos with getPinnedRepos
const repos = await getPinnedRepos("kotiasv")
Response type example:
type GithubQuery = {
name: string
url: string
primaryLanguage: {
name: string
color: string
}
description: string
homepageUrl: string
}
Contributions
This project is Open Source. Your feedback and contributions are welcome here.