UNPKG

@c0dez/github-repo-fetcher

Version:

🔍 A lightweight GitHub profile analyzer that fetches repositories, READMEs, and comprehensive user statistics with TypeScript support. Perfect for building GitHub analytics tools and portfolio sites.

31 lines (30 loc) 707 B
export interface GitHubRepo { stargazers_count: number; name: string; full_name: string; description: string | null; html_url: string; readme?: string; } export interface GitHubError { message: string; status: number; } export interface GitHubUserStats { login: string; name: string | null; bio: string | null; public_repos: number; followers: number; following: number; location: string | null; blog: string | null; twitter_username: string | null; created_at: string; updated_at: string; contributions?: number; languages?: { [key: string]: number; }; totalStars?: number; }