Nervous Penpal Message

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

    1.1.1 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @types/js-levenshtein

    DownloadsWeekly Downloads

    1,448,213

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    3.37 kB

    Total Files

    4

    Last publish

    Collaborators

    • types