Npm package for getting pinned repos
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
}
This project is Open Source. Your feedback and contributions are welcome here.