/list-hot-spots

Lists files in a git repository based on their change frequency

Primary LanguageJavaScript

Use

Run npx beckerei/list-hot-spots in any git repository.

It generates a hot-spots.json file with the all pathes in the project and the number of commits made in that pace.

Example output

[
  {
    "id": "cli.js",
    "name": "cli.js",
    "commitCount": 3
  },
  {
    "id": ".gitignore",
    "name": ".gitignore",
    "commitCount": 2
  },
  {
    "id": "package.json",
    "name": "package.json",
    "commitCount": 1
  },
  {
    "id": "README.md",
    "name": "README.md",
    "commitCount": 1
  }
]