Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

332 B
Raw Blame
import type { StatsHighlights } from "@repowise-dev/types/stats";
import { apiGet } from "./client";

/** One-call payload for the repo Stats ("By the Numbers") page. */
export async function getStatsHighlights(repoId: string): Promise<StatsHighlights> {
  return apiGet<StatsHighlights>(`/api/repos/${repoId}/stats/highlights`);
}