{"_id":"@asdsadw12312dwd2112xz/git-stats-cli","name":"@asdsadw12312dwd2112xz/git-stats-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asdsadw12312dwd2112xz/git-stats-cli","version":"1.0.0","description":"Beautiful git repository statistics and contributor analysis","type":"module","bin":{"git-stats":"dist/index.js"},"scripts":{"build":"tsup","prepublishOnly":"npm run build"},"keywords":["git","statistics","commits","contributors","analysis","cli"],"author":{"name":"okirmio"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/okirmio-create/git-stats-cli.git"},"dependencies":{"chalk":"^5.4.1","commander":"^13.1.0"},"devDependencies":{"@types/node":"^22.15.2","tsup":"^8.4.0","typescript":"^5.8.3"},"gitHead":"576abbfd4faae66192aba01ff08f17481db5d14f","_id":"@asdsadw12312dwd2112xz/git-stats-cli@1.0.0","bugs":{"url":"https://github.com/okirmio-create/git-stats-cli/issues"},"homepage":"https://github.com/okirmio-create/git-stats-cli#readme","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-5h33sWrN8wzj/bXHyrd3HcN8u70NKYTCP40HGRwqOpY3gwvaIL7mfNpV46Vc5BIPJXP7Q5tThUz/5tOXKYjuKA==","shasum":"812f185d921996b9f917944f27c4dda88647bdd9","tarball":"https://registry.npmjs.org/@asdsadw12312dwd2112xz/git-stats-cli/-/git-stats-cli-1.0.0.tgz","fileCount":3,"unpackedSize":12091,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICsLVJRjXN0bCw/HLM4tGuS0MjZYX0wR4TAubz52UK+aAiEA2W1yhfUN+mDDUH6/+4fwoPdv5pAOYfkjVoH/UvmfeWA="}]},"_npmUser":{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"},"directories":{},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/git-stats-cli_1.0.0_1775522846787_0.21530046066085862"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-07T00:47:26.691Z","1.0.0":"2026-04-07T00:47:26.911Z","modified":"2026-04-07T00:47:27.125Z"},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"description":"Beautiful git repository statistics and contributor analysis","homepage":"https://github.com/okirmio-create/git-stats-cli#readme","keywords":["git","statistics","commits","contributors","analysis","cli"],"repository":{"type":"git","url":"git+https://github.com/okirmio-create/git-stats-cli.git"},"author":{"name":"okirmio"},"bugs":{"url":"https://github.com/okirmio-create/git-stats-cli/issues"},"license":"MIT","readme":"# git-stats-cli\n\nBeautiful git repository statistics and contributor analysis right from your terminal.\n\n## Install\n\n```bash\nnpm install -g git-stats-cli\n```\n\n## Usage\n\n```bash\n# Run inside any git repository\ngit-stats summary          # Repository overview\ngit-stats authors          # Contributor rankings\ngit-stats timeline         # Commit frequency chart\ngit-stats files            # Most modified files\ngit-stats hours            # Activity by hour of day\n```\n\n### Global Options\n\n| Flag | Description |\n|------|-------------|\n| `-d, --dir <path>` | Path to git repository (default: cwd) |\n| `--since <date>` | Filter commits after date |\n| `--until <date>` | Filter commits before date |\n| `--author <name>` | Filter by author name |\n| `--json` | Output raw JSON |\n\n### Commands\n\n**summary** - Total commits, contributors, first/last commit dates, active days, tracked files, branches, and tags.\n\n**authors** - Ranked list of contributors with commit count, lines added, lines deleted, and a visual bar chart.\n\n**timeline** - Commit frequency grouped by day, week, or month with ASCII bar charts.\n```bash\ngit-stats timeline -p month    # Group by month\ngit-stats timeline -p day      # Group by day\n```\n\n**files** - Most frequently changed files, ranked by number of commits that touched them.\n```bash\ngit-stats files -l 10          # Top 10 files\n```\n\n**hours** - Heatmap-style display of commit activity by hour of day, colored by intensity.\n\n## Examples\n\n```bash\n# Stats for a specific repo\ngit-stats summary -d /path/to/repo\n\n# Commits in the last 30 days\ngit-stats authors --since=\"30 days ago\"\n\n# Single author's timeline\ngit-stats timeline --author=\"Alice\" -p day\n\n# JSON output for scripting\ngit-stats summary --json | jq .totalCommits\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-3c5652f369ccc08f922d963c8cf4adda"}