Installation
npm install --save @types/damerau-levenshtein
Summary
This package contains type definitions for damerau-levenshtein (https://github.com/tad-lispy/node-damerau-levenshtein#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/damerau-levenshtein.
index.d.ts
declare function levenshtein(__this: string, that: string, limit?: number): levenshtein.DamerauLevenshteinResponse;
declare namespace levenshtein {
interface DamerauLevenshteinResponse {
steps: number;
relative: number;
similarity: number;
}
}
export = levenshtein;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by G3ru1a.