npm install --save @types/jaro-winkler
This package contains type definitions for jaro-winkler (https://github.com/jordanthomas/jaro-winkler).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jaro-winkler.
/**
* Takes two strings and compares them. Returns a value from 0 to 1, 0 meaning that
* the strings are not at all similar.
*/
declare function distance(x: string, y: string, options?: { caseSensitive?: boolean }): number;
export = distance;
- Last updated: Thu, 20 Mar 2025 15:35:27 GMT
- Dependencies: none
These definitions were written by .