Installation
npm install --save @types/js-levenshtein
Summary
This package contains type definitions for js-levenshtein (https://github.com/gustf/js-levenshtein).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-levenshtein.
index.d.ts
/**
* Calculates Levenshtein distance between two strings
*/
declare function levenshtein(compareFrom: string, compareTo: string): number;
export = levenshtein;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Pyry Rouvila.