Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Get the average close time for issues on a repository
JavaScript
branch: master

This branch is 6 commits behind apiengine:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
package.json
stats.js

README.md

Github Average Ticket Time

Hey guys, wrote a small little script to see how long on average it takes for issues to be closed on a Github repository.

It grabs the last 100 issues(by default), then averages their lifespan by using the creation and close dates.

Setup

  1. clone the repo
  2. npm install
  3. node stats.js apiengine/github-stats

Examples

h5bp/html5-boilerplate

Average hours: 63.92
Average days: 2.66

cdnjs/cdnjs

Average hours: 93.68
Average days: 3.9

twitter/bootstrap

Average hours: 20.97
Average days: 0.87
Something went wrong with that request. Please try again.