0.3.2 • Published 7 years ago
git-hours-lib v0.3.2
Git Hours Library
A Javascript library for calculating an approximately count of hours, spent by a user on contributing content.
It was developed, because only the cli git-hours existed for this functionality. The library uses the same algorithm as the cli git-hours.
Installation
Easiest through npm: npm install --save git-hours-lib
Alternatively using yarn: yarn add git-hours-lib
Dependencies
Relies on git already having been installed on the system, and that it can be called
using the command git
.
Usage
Include into your app using:
var gitHours = require('git-hours-lib');
// or in es6
import gitHours from 'git-hours-lib';
Code of Conduct
Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License
MIT © Yasar Kücükkaya