1.0.1 • Published 1 year ago
@jonasdoesthings/github-contributions v1.0.1
github-contributions
A simple TypeScript library to fetch GitHub's contribution chart for a user
Installation
npm install @jonasdoesthings/github-contributions
oryarn add @jonasdoesthings/github-contributions
Usage
import {fetchContributions} from '@jonasdoesthings/github-contributions';
fetchContributions("JonasDoesThings").then(contributions => {
console.log(contributions)
});
fetchContributions("JonasDoesThings", 2021).then(contributions => {
console.log(contributions)
});
License
The project is licensed under the MIT license.
Check the LICENSE file, for the full legal-notice.