react-github-graph

A lightweight React component for displaying a graph of Github contributions

Usage no npm install needed!

<script type="module">
  import reactGithubGraph from 'https://cdn.skypack.dev/react-github-graph';
</script>

README

react-github-graph

React Github Graph Sample

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:

If one of these resources is unavailable, the component will not be able to load and will hide itself