Get the pinned repos for a github username
npm install @kentaylorappdev/get-pinned-reposgetPinnedRepos_v2 is recommended. getPinnedRepos is the old version and will be removed soon.
Feel free to submit feature requests or issues on the github page.
Or send an email to kentaylorappdev@gmail.com
``bash`
npm install --save @kentaylorappdev/get-pinned-repos
includes typescript support
` javascript`
import { getPinnedRepos_v2 } from '@kentaylorappdev/get-pinned-repos'
getPinnedRepos_v2('ktappdev')
.then(console.log)
` javascript`
[
{
repo: 'KTAppDev/notes-app-frontend-public',
description: 'Secret Note Now you can add or replace an image with every note! Notes and Images stored on "secretnote" can be public or private,depending on the title. Simple titles lead to highly visible notes…',
languages: 'Vue',
stars: 3
},
{
repo: 'KTAppDev/tm-nextjs',
description: 'Meet Tools Manager: Your NextJS sidekick for keeping all your favorite tools in check. Organize,access,conquer – all with a dash of NextJS magic.',
languages: 'TypeScript',
stars: 0
},
... ...
Array of objects with repo, description, languages and stars
]
javascript
import { getPinnedRepos } from '@kentaylorappdev/get-pinned-repos'getPinnedRepos('ktappdev')
.then(console.log)
`
` javascript
[ "KTAppDev/notes-app-frontend-public", "KTAppDev/tm-nextjs",
"KTAppDev/notes-express-api-public", "KTAppDev/Switch-Power-profile",
"KTAppDev/bad-words-thing", "KTAppDev/review-it-nextjs-v7"
]
This remains in here for anyone who started using the tool from day 1
``MIT