UNPKG

github-contributions-counter

Version:

A simple Javascript API that will return the public github contributions history for a user based on a universal function

13 lines (12 loc) 334 B
import { Partitions } from './main'; interface Parcer { webpage: string; partitions: Partitions; username: string; } export declare type UrlsToQuery = Array<{ url: string; year: string; }>; declare const parcer: ({ webpage, partitions, username }: Parcer) => UrlsToQuery | null; export default parcer;