common-repos

Command line script used to find the top common repositories amongst a group of contributers to a particular repository.

Usage no npm install needed!

<script type="module">
  import commonRepos from 'https://cdn.skypack.dev/common-repos';
</script>

README

Common-Repos

Common-Repos is a command line script used to find the top common repositories amongst a group of contributers to a particular repository. If you do not specifiy any commands, the interface with return a serious of questions the user will interact with in order to run the application.

Prerequisites

  1. Install Node.js
  2. Install Github-Api
  3. Install Minimist
  4. Install Prompts

❯ Install

$ npm install --save common-repos

This package uses async/await and requires Node.js 7.6

Usage

Usage: node common-repos [options]


  Options:

    username       |u   <string>   login name
    password       |p   <string>   user password
    token          |t   <string>   oAuth token (provided from Github)
    repo           |r   <string>   https://github.com/username/repository | username/repository | username repository
    maxRequests    |m   <number>   max requests made to Github API - xRateLimit
    save           |s   <boolean>  save current progress - default:true
    savePath       |o   <string>   path to export progress data
    disablePrompt  |d   <boolean>  disable prompt interface
    result         |l   <number>   number of repositories returned - default:10

Example:


node common-repost -u=brdlyptrs -p=***** --repo=terkelg/prompts -m=50

Thank you.