github-scraper-js

0.0.3 • Public • Published

github-scraper

Scrapes the repositories you work on and stores info in a json file

Code Style

This library adheres to the StandardJS code style.

Config file

{
  "user": "...",
  "token": "...", 
  "user_agent": "...", 
  "wanted_keys": [
    "name", "description", "updated_at", "html_url", "language",
    "stargazers_count", "forks_count", "contributor_count"
  ],
  "target_file": "./target.json"
}

Usage

node ./lib/index.js {user} {token} {user-agent} {json-file-to-write}

or

node ./lib/index.js {json-config}

This can be used via a crontab or forever/pm2.

Readme

Keywords

none

Package Sidebar

Install

npm i github-scraper-js

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • tsedlar