@nimpl/ab-tests
Version:
A package for conducting A/B tests on a website using middleware
27 lines (26 loc) • 675 B
TypeScript
export declare const checkers: {
header: (_url: URL, rule: import("../types/tests").Rule) => {
match: boolean;
groups: {
[key: string]: string;
};
};
cookie: (_url: URL, rule: import("../types/tests").Rule) => {
match: boolean;
groups: {
[key: string]: string;
};
};
host: (url: URL, rule: import("../types/tests").Rule) => {
match: boolean;
groups: {
[key: string]: string;
};
};
query: (url: URL, rule: import("../types/tests").Rule) => {
match: boolean;
groups: {
[key: string]: string;
};
};
};