JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 72659
  • Score
    100M100P100Q225987F
  • License MIT

A string similarity function using the Jaro-Winkler distance metric.

Package Exports

  • jaro-winkler

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jaro-winkler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jaro-winkler

A string similarity function using the Jaro-Winkler distance metric.

Install

install command here

Basic Usage

var distance = require('jaro-winkler');

distance('MARTHA', 'MARHTA');
// 0.961

distance('DWAYNE', 'DUANE');
// 0.84

distance('DIXON', 'DICKSONX');
// 0.814