0.7.0 • Published 1 year ago

github-contributions-canvas v0.7.0

Weekly downloads
161
License
MIT
Repository
-
Last release
1 year ago

Github Contributions on Canvas NPM version Build Status Dependency Status

A tool for drawing a heat-map of Github contributions on HTML Canvas.

This module is used for drawing user contributions in this project.

Install

$ npm install github-contributions-canvas

Usage

import { drawContributions } from "github-contributions-canvas";

drawContributions(canvasEl, {
  data: contributionData,
  username: "myusername",
  themeName: "standard",
  footerText: "Made by @sallar - github-contributions.now.sh"
});

Available Themes

The themes are defined in the src/themes.js file. Currently the available themes are:

  • standard
  • halloween
  • teal
  • leftPad
  • dracula
  • blue
  • panda
  • sunny
  • pink
  • YlGnBu
  • solarizedDark
  • solarizedLight

Data Format

This module accepts the output from sallar/github-contributions-api API. Check that project for more info.

License

Sallar Kaboli © MIT License

0.6.1-0

1 year ago

0.7.0

1 year ago

0.6.0

3 years ago

0.5.0

3 years ago

0.3.1

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.0

4 years ago

0.3.0

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago