This package has been deprecated

Author message:

not working as it should

git-hours-lib

0.3.2 • Public • Published

Git Hours Library

Greenkeeper badge NPM version Build Status

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

Dependencies (4)

Dev Dependencies (6)

Package Sidebar

Install

npm i git-hours-lib

Weekly Downloads

4

Version

0.3.2

License

MIT

Last publish

Collaborators

  • npm
  • yasark