find-github-repo

1.0.1 • Public • Published

find-github-repo

Get a list of Github repositories of specified username sorted by numbers of stars in descending order and last updated time

Installation

# using npm
npm install find-github-repo

# using yarn
yarn add find-github-repo

Usage

# using require
const { callGetRepoFun } = require('find-github-repo');

# using import
import { callGetRepoFun } from 'find-github-repo';

Example

Using promises:

// username = github username
// page = page which you want to see like 1,2,3,4...
// per_page = number of item on each page 
callGetRepoFun(username, page, per_page).then(res => {
    console.log({my_Res: res})
})

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i find-github-repo

    Weekly Downloads

    0

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    2.37 kB

    Total Files

    3

    Last publish

    Collaborators

    • sheru007