UNPKG

cockatoo.js

Version:

Fuzzy search library based based on Damerau Levenshtein distance algorithm for Node.js

21 lines (20 loc) 508 B
export declare class CockatooOptions { caseSensitive: boolean; accentSensitive: boolean; threshold: number; tokenize: boolean; tokenThreshold: number; sorted: boolean; exhaustive: boolean; keys: string[]; constructor(obj: { caseSensitive?: boolean; accentSensitive?: boolean; threshold?: number; tokenize?: boolean; tokenThreshold?: number; sorted?: boolean; exhaustive?: boolean; keys?: string[]; }); }