@types/damerau-levenshtein
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/damerau-levenshtein

Weekly Downloads

12,291

Version

1.0.2

License

MIT

Unpacked Size

3.22 kB

Total Files

5

Last publish

Collaborators

  • types