Narnia's Psychedelic Mushrooms

    twitter-contributions-canvas

    0.2.0 • Public • Published

    (this is a fork for Twitter, so s/Github/Twitter/g)

    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

    • standard
    • teal
    • halloween
    • leftPad
    • panda
    • blue
    • dracula

    Data Format

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

    License

    Sallar Kaboli © MIT License

    Install

    npm i twitter-contributions-canvas

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    153 kB

    Total Files

    9

    Last publish

    Collaborators

    • unknownexception