web-vitals-distribution
Version:
Probability Distribution Utility for Web Vitals
11 lines (10 loc) • 370 B
TypeScript
import { LogNormalDistribution } from './log-normal-distribution.js';
declare const WebVitals: {
[metric: string]: {
good: number;
poor: number;
};
};
export type WebVitalType = keyof typeof WebVitals;
export declare function createWebVitalDistribution(type: WebVitalType, goodRatio: number, poorRatio: number): LogNormalDistribution;
export {};