New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

contributions-chart

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contributions-chart

A contributions record chart imitated github

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

contributions-chart

A contributions record imitated github

Installation

Using npm

npm i --save contributions-chart

ES2015

import { VueContributionsChart } from 'contributions-chart'

Usage

<vue-contributions-chart :contributions="contributions"></vue-contributions-chart>
new Vue({
  el: '#app',
  data: {
    contributions: [
      {
        date: '2017-03-04',
        value: 3
      },
      {
        date: '2017-11-05',
        value: 10
      }
    ]
  }
});

Props

PropDescription
yearWhich year e.g. 2017
cellSizeSize of every single cell(default: 14px)
widthWidth of chart(default: adapt to content)
heightHeight of chart(default: adapt to content)
intervalInterval of cells(default: 1px)
textFontsizeFont size of leftside text
contributionsArray

Result

FAQs

Package last updated on 06 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts