# Installation
> `npm install --save @types/fuzzaldrin-plus`

# Summary
This package contains type definitions for fuzzaldrin-plus (https://github.com/jeancroy/fuzzaldrin-plus/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fuzzaldrin-plus.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fuzzaldrin-plus/index.d.ts)
````ts
export as namespace fuzzaldrin;

export class Query {
    $$__internal: Symbol;
}

export interface IOptions {
    allowErrors?: boolean | undefined;
    usePathScoring?: boolean | undefined;
    useExtensionBonus?: boolean | undefined;
    pathSeparator?: "/" | "\\" | string | undefined;
    optCharRegEx?: RegExp | undefined;
    wrap?: { tagOpen?: string | undefined; tagClass?: string | undefined; tagClose?: string | undefined } | undefined;
    preparedQuery?: Query | undefined;
}

export type IFilterOptions<T> = IOptions & {
    key?: T extends string ? never : keyof T | undefined;
    maxResults?: number | undefined;
    maxInners?: number | undefined;
};

export function filter<T>(
    data: T[],
    query: string,
    options?: IFilterOptions<T>,
): T[];
export function score(str: string, query: string, options?: IOptions): number;
export function match(str: string, query: string, options?: IOptions): number[];
export function wrap(str: string, query: string, options?: IOptions): string;
export function prepareQuery(query: string, options?: IOptions): Query;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [ Jean Christophe Roy](https://github.com/jeancroy), [Jason Killian](https://github.com/jkillian), and [Ronald Rey](https://github.com/reyronald).
