@types/js-levenshtein
@types/js-levenshtein
npm i @types/js-levenshtein
@types/js-levenshtein

@types/js-levenshtein

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

1.1.1 (see all)License:MITTypeScript:Built-In
npm i @types/js-levenshtein
Readme

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

// Type definitions for js-levenshtein 1.1
// Project: https://github.com/gustf/js-levenshtein
// Definitions by: Pyry Rouvila <https://github.com/naftis>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Calculates Levenshtein distance between two strings
 */
declare function levenshtein(compareFrom: string, compareTo: string): number;

export = levenshtein;

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:34:56 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Pyry Rouvila.

Downloads/wk

1.3M

GitHub Stars

41K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

637

OPEN PRs

198
VersionTagPublished
1.1.1
latest
9mos ago
1.1.1
ts4.7
9mos ago
1.1.1
ts4.6
9mos ago
1.1.1
ts4.8
9mos ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate