UNPKG

1.07 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/fast-levenshtein`
3
4# Summary
5This package contains type definitions for fast-levenshtein (https://github.com/hiddentao/fast-levenshtein).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fast-levenshtein.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fast-levenshtein/index.d.ts)
10````ts
11// Type definitions for fast-levenshtein
12// Project: https://github.com/hiddentao/fast-levenshtein
13// Definitions by: Mizunashi Mana <https://github.com/mizunashi-mana>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15
16export interface LevenshteinOptions {
17 useCollator?: boolean | undefined;
18}
19
20export function get(str1: string, str2: string, opts?: LevenshteinOptions): number;
21
22````
23
24### Additional Details
25 * Last updated: Tue, 06 Jul 2021 20:32:53 GMT
26 * Dependencies: none
27 * Global values: none
28
29# Credits
30These definitions were written by [Mizunashi Mana](https://github.com/mizunashi-mana).
31
\No newline at end of file