signalk-server
Version:
An implementation of a [Signal K](http://signalk.org) server for boats.
18 lines • 617 B
TypeScript
export interface RawMetricsSample {
stars?: number;
openIssues?: number;
contributors?: number;
downloadsPerWeek?: number;
/** Optional: the upstream sources we actually got data from. Informational only. */
sources?: {
github?: boolean;
npm?: boolean;
contributors?: boolean;
};
}
export interface RawMetricsClient {
get(pkgName: string, githubUrl: string | undefined): Promise<RawMetricsSample | undefined>;
invalidate(): void;
}
export declare function createRawMetricsClient(cacheDir: string): RawMetricsClient;
//# sourceMappingURL=raw-metrics.d.ts.map