{"id":18338714,"url":"https://github.com/tableflip/git-days","last_synced_at":"2025-08-23T23:19:12.163Z","repository":{"id":72910556,"uuid":"38871338","full_name":"tableflip/git-days","owner":"tableflip","description":":chart_with_upwards_trend: How many days did you work on that project?","archived":false,"fork":false,"pushed_at":"2017-05-31T09:21:06.000Z","size":7,"stargazers_count":12,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-21T18:01:42.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/git-days","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tableflip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-10T09:02:26.000Z","updated_at":"2022-09-25T22:31:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3ba75d5-8a78-432e-b143-1f34e21679e0","html_url":"https://github.com/tableflip/git-days","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"9a52e2c80c2e1922d6e8108afaf160ca2cfffe14"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fgit-days","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fgit-days/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fgit-days/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Fgit-days/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tableflip","download_url":"https://codeload.github.com/tableflip/git-days/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247440346,"owners_count":20939221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T20:14:56.085Z","updated_at":"2025-04-06T05:31:49.547Z","avatar_url":"https://github.com/tableflip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-days [![Build Status](https://travis-ci.org/tableflip/git-days.svg)](https://travis-ci.org/tableflip/git-days) [![Dependency Status](https://david-dm.org/tableflip/git-days.svg)](https://david-dm.org/tableflip/git-days)\nHow many days did you work on that project?\n\nCLI tool to get a print out of how many days each committer committed to a project and how many total commits they've made.\n\n## Getting started\n\n```sh\nnpm install -g git-days\ncd /path/to/project\ngit-days\n```\n\nOutput:\n\n```sh\n┌──────────────────────┬──────┬─────────┐\n│ Author               │ Days │ Commits │\n├──────────────────────┼──────┼─────────┤\n│ Jane                 │ 46   │ 443     │\n├──────────────────────┼──────┼─────────┤\n│ Bob                  │ 16   │ 96      │\n├──────────────────────┼──────┼─────────┤\n│ Dave                 │ 70   │ 454     │\n├──────────────────────┼──────┼─────────┤\n│ Joe                  │ 1    │ 1       │\n├──────────────────────┼──────┼─────────┤\n│ Laura                │ 6    │ 12      │\n├──────────────────────┼──────┼─────────┤\n│ Sue                  │ 13   │ 50      │\n├──────────────────────┼──────┼─────────┤\n│ Richard              │ 4    │ 23      │\n├──────────────────────┼──────┼─────────┤\n│ Christopher          │ 1    │ 1       │\n└──────────────────────┴──────┴─────────┘\nTotal: 157 days (1080 commits)\n```\n\n## Options\n\n### `from`\nOnly consider commits after this date. An ISO formatted date passed to moment.\ne.g.\n\n```sh\ngit-days --from 2015-07-10\n```\n\n### `to`\nOnly consider commits before this date. An ISO formatted date passed to moment.\ne.g.\n\n```sh\ngit-days --to 2015-01-01\n```\n\n### `sort`\nSort the table by the specified column. Prefix with \"-\" to change sort direction to descending. Default is sort by author name, ascending.\ne.g.\n\n```sh\n# Sort by commits ascending\ngit-days --sort commits\n\n# Sort by days descending\ngit-days --sort=-days\n```\n\n## Specify project path(s)\nPerhaps your project is split over multiple repos. No problem!\n\n```sh\ngit-days /path/to/project /path/to/related/project/repo\n```\n\n---\n\nA [(╯°□°）╯︵TABLEFLIP](https://tableflip.io) side project.\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Fgit-days","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftableflip%2Fgit-days","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Fgit-days/lists"}