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