gitregator

1.2.1 • Public • Published

GitRegator

GitRegator is a simple utility to ag-git-regate information from your projects on github.

Install

npm i gitregator

Usage

Drop a .gitregator.yml in the root of any project you want to get picked up.

Load some information in it

icon: "fa fa-github"
name: "GitRegator"
description: "CLI tool for aggregating information from github projects."

Then gitregate it all!

const GitRegator = require("./gitregator");

const client = new GitRegator({
  username: <GITHUB_USERNAME>,
  apiKey: <GITHUB_API_KEY>
});

(async () => {
  const info = await client.getInfoFromRepo("<REPO_NAME>");

  console.log(info); // { "icon": "fa fa-github", "name": "GitRegator", "description": "CLI tool ..."
})();

Readme

Keywords

Package Sidebar

Install

npm i gitregator

Weekly Downloads

2

Version

1.2.1

License

MIT

Unpacked Size

11.3 kB

Total Files

8

Last publish

Collaborators

  • kevinkhill