react-github-graph
v1.8.0
Published
A lightweight React component for displaying a graph of Github contributions
Downloads
109
Readme
react-github-graph
Purpose
React Github Graph is a lightweight React component that displays Github contributions for a given user.
Installation
npm install react-github-graph
or
yarn add react-github-graph
Usage
import React from "react";
import { GithubContributions } from "react-github-graph"
export default function App() {
return (
<GithubContributions username="{your username here}" />
);
}
Notes
Currently depends on the following resources:
- https://cors.kylekarpack.workers.dev
- https://github.com
If one of these resources is unavailable, the component will not be able to load and will hide itself