screr

1.1.1 • Public • Published

Screr

Create contribution reports for your git repository.

Sample report

Install

npm install screr

Usage

// Load the package
const screr = require('screr')


// Specify values
let repoPath = '<path-to-repo>'
let branch = 'master'
let format = 'html'
let saveLoc = '<folder-to-save-in>'
let viewLogs = true


// Create the report
screr.createReport(repoPath, branch, format, saveLoc, viewLogs)

// Use defaults(branch='master', format='json', saveLoc='report', viewLogs=false)
// screr.createReport(repoPath)

Requirments

Please make sure you have git installed on your computer and accessible from the shell.

Reports

Screr will create reports for measuring contributions by each contributor.
It supports creating reports in JSON and HTML.
For the given repository and branch it goes through each file and counts the number of lines of commit by each contributor.
The score is formatted and presented for view(HTML) or for machine consumption(JSON).

Samples

Project Report Date
awesome html Sep 19 2019
Bitcoin html Sep 19 2019
bootstrap html Sep 19 2019
D3 html Sep 19 2019
freeCodeCamp html Sep 19 2019
jQuery html Sep 19 2019
public-apis html Sep 19 2019
React html Sep 19 2019
scikit-learn html Sep 19 2019
three.js html Sep 19 2019

Readme

Keywords

none

Package Sidebar

Install

npm i screr

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

504 kB

Total Files

14

Last publish

Collaborators

  • amitlzkpa