Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

kaaax0815/github-insights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Insights

💻 Usage

Install the package as a dependency from npm:

With NPM:

npm install --save github-insights

With YARN:

yarn add github-insights

📄 Documentation

Documentation is available here
The "API" Module is most Important, "INDEX" just exports it

📖 Example

import * as insights from 'github-insights';

async function main() {
  const clones = insights.traffic.clones('<user>', '<repo>', '<username>', '<password>');
  console.log(clones);
}

main();

📄 License

MIT © Bernd Storath