Neti Pot Manufacturer

    string-hammingdistance

    0.1.3 • Public • Published

    string-hammingdistance

    NPM

    Get Hamming distance between strings.

    const hammingDistance = require('string-hammingdistance');
    // hammingDistance(<string-1>, <string-2>)
     
    hammingDistance('rowan', 'raven');
    // 3
    hammingDistance('atkinson', 'atkinson');
    // 0
    hammingDistance('bean', 'green');
    // NaN (strings are of different length)

    NOTE: string-hammingdistance was renamed to @extra-string/hamming-distance.

    Install

    npm i string-hammingdistance

    DownloadsWeekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    1.51 kB

    Total Files

    3

    Last publish

    Collaborators

    • wolfram77