@christianesk/github-calendar

    1.9.5 • Public • Published

    Github's Contribution Calendar (NPM)
    by StkngEsk

    npm Version GitHub License

    This project returns a calendar of contributions de Github in SVG format depending on the user and year chosen.


    Installation

    npm i @christianesk/github-calendar


    Example

    const githubCalendar = require("@christianesk/github-calendar");
    
    const getCalendar = async () => {
       
        return await githubCalendar("christianesk", "2020");
    } 
    
    /*Returns an Object with these parameters:
        //Example
        { 
            textContributions: "256 contributions in 2020"      
            calendar: "<svg>...</svg>",
        }
    */

    Authors


    License

    MIT © Stkngesk

    Install

    npm i @christianesk/github-calendar

    DownloadsWeekly Downloads

    1

    Version

    1.9.5

    License

    MIT

    Unpacked Size

    11.1 kB

    Total Files

    11

    Last publish

    Collaborators

    • christianesk