@kentaylorappdev/get-pinned-repos
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

get-pinned-repos

Get the pinned repos for a github username. No token required.

getPinnedRepos_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

Installation

npm install --save @kentaylorappdev/get-pinned-repos

includes typescript support

Usage

import { getPinnedRepos_v2 } from '@kentaylorappdev/get-pinned-repos'
getPinnedRepos_v2('ktappdev')
  .then(console.log)
[
  {
    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
  ]

Old Version

import { getPinnedRepos } from '@kentaylorappdev/get-pinned-repos'

getPinnedRepos('ktappdev')
  .then(console.log)
[ "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

License

MIT

get-pinned-repos

Package Sidebar

Install

npm i @kentaylorappdev/get-pinned-repos

Weekly Downloads

2

Version

1.1.3

License

MIT

Unpacked Size

7.14 kB

Total Files

5

Last publish

Collaborators

  • kentaylorappdev