Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skyra-project/jaro-winkler
A string similarity utility that uses the Jaro-Winkler algorithm
https://github.com/skyra-project/jaro-winkler
algorithm distance hacktoberfest jaro jaro-winkler similarity text winkler
Last synced: 1 day ago
JSON representation
A string similarity utility that uses the Jaro-Winkler algorithm
- Host: GitHub
- URL: https://github.com/skyra-project/jaro-winkler
- Owner: skyra-project
- License: mit
- Created: 2021-10-11T17:35:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-24T21:08:15.000Z (about 2 months ago)
- Last Synced: 2024-09-24T22:25:29.701Z (about 2 months ago)
- Topics: algorithm, distance, hacktoberfest, jaro, jaro-winkler, similarity, text, winkler
- Language: TypeScript
- Homepage: https://skyra-project.github.io/jaro-winkler
- Size: 3.1 MB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# @skyra/jaro-winkler
**A string similarity utility that uses the Jaro-Winkler algorithm**
[![GitHub](https://img.shields.io/github/license/skyra-project/jaro-winkler)](https://github.com/skyra-project/jaro-winkler/blob/main/LICENSE.md)
[![codecov](https://codecov.io/gh/skyra-project/jaro-winkler/branch/main/graph/badge.svg?token=5Na1VXMxee)](https://codecov.io/gh/skyra-project/jaro-winkler)
[![npm](https://img.shields.io/npm/v/@skyra/jaro-winkler?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@skyra/jaro-winkler)## Description
A string similarity function using the Jaro-Winkler distance metric. Returns a number between 0 and 1. A 0 being no
similarity and a 1 being an exact match.Read more about it [on Wikipedia](http://en.wikipedia.org/wiki/Jaro–Winkler_distance).
## Installation
You can use the following command to install this package, or replace `npm install` with your package manager of choice.
```sh
npm install @skyra/jaro-winkler
```## Usage
```js
const { jaroWinkler } = require('@skyra/jaro-winkler');
``````ts
import { jaroWinkler } from '@skyra/jaro-winkler';
```---
## API Documentation
For the full API documentation please refer to the TypeDoc generated
[documentation](https://skyra-project.github.io/jaro-winkler).### Buy us some doughnuts
Skyra Project is open source and always will be, even if we don't get donations. That said, we know there are amazing
people who may still want to donate just to show their appreciation. Thanks you very much in advance!We accept donations through Patreon, BitCoin, Ethereum, and Litecoin. You can use the buttons below to donate through
your method of choice.| Donate With | QR | Address |
| :---------: | :----------------: | :---------------------------------------------------------------------------------------------------------------------------------------: |
| Patreon | ![PatreonImage][] | [Click Here](https://www.patreon.com/kyranet) |
| PayPal | ![PayPalImage][] | [Click Here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CET28NRZTDQ8L) |
| BitCoin | ![BitcoinImage][] | [3JNzCHMTFtxYFWBnVtDM9Tt34zFbKvdwco](bitcoin:3JNzCHMTFtxYFWBnVtDM9Tt34zFbKvdwco?amount=0.01&label=Skyra%20Discord%20Bot) |
| Ethereum | ![EthereumImage][] | [0xcB5EDB76Bc9E389514F905D9680589004C00190c](ethereum:0xcB5EDB76Bc9E389514F905D9680589004C00190c?amount=0.01&label=Skyra%20Discord%20Bot) |
| Litecoin | ![LitecoinImage][] | [MNVT1keYGMfGp7vWmcYjCS8ntU8LNvjnqM](litecoin:MNVT1keYGMfGp7vWmcYjCS8ntU8LNvjnqM?amount=0.01&label=Skyra%20Discord%20Bot) |## Contributors
Please make sure to read the [Contributing Guide][contributing] before making a pull request.
Thank you to all the people who already contributed to Skyra Project!
[contributing]: https://github.com/skyra-project/.github/blob/main/.github/CONTRIBUTING.md
[patreonimage]: https://cdn.skyra.pw/gh-assets/patreon.png
[paypalimage]: https://cdn.skyra.pw/gh-assets/paypal.png
[bitcoinimage]: https://cdn.skyra.pw/gh-assets/bitcoin.png
[ethereumimage]: https://cdn.skyra.pw/gh-assets/ethereum.png
[litecoinimage]: https://cdn.skyra.pw/gh-assets/litecoin.png