UNPKG

@types/fast-levenshtein

Version:
31 lines (23 loc) 1.07 kB
# Installation > `npm install --save @types/fast-levenshtein` # Summary This package contains type definitions for fast-levenshtein (https://github.com/hiddentao/fast-levenshtein). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fast-levenshtein. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fast-levenshtein/index.d.ts) ````ts // Type definitions for fast-levenshtein // Project: https://github.com/hiddentao/fast-levenshtein // Definitions by: Mizunashi Mana <https://github.com/mizunashi-mana> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export interface LevenshteinOptions { useCollator?: boolean | undefined; } export function get(str1: string, str2: string, opts?: LevenshteinOptions): number; ```` ### Additional Details * Last updated: Tue, 06 Jul 2021 20:32:53 GMT * Dependencies: none * Global values: none # Credits These definitions were written by [Mizunashi Mana](https://github.com/mizunashi-mana).