# aceakash/string-similarity

Finds degree of similarity between two strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.

Repository: https://github.com/aceakash/string-similarity
Canonical: https://ross.abutalabs.com/products/string-similarity
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, dice-coefficient, string-comparison, string-similarity, strings
Archived: true
Last push: 2023-05-01T13:28:53+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4301, "days_push": 1220, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2532, forks 133 (observed 2026-08-28T04:06:59.010176+00:00)

## What it is
A JavaScript library that computes the degree of similarity between two strings using Dice's Coefficient, offering compareTwoStrings and findBestMatch APIs. It works in Node.js and browsers but is now deprecated and unmaintained.

## Use cases
- compare two strings for similarity in javascript
- find best matching string from a list
- fuzzy match user input against known values
- score similarity between titles or names
- deduplicate near-identical strings

## When to choose
- you need a tiny dependency-free Dice coefficient comparison in Node or the browser
- you want to pick the closest match from a list of candidate strings

## When to avoid
- starting a new project, since the package is deprecated and unmaintained
- you need Levenshtein distance or more advanced fuzzy matching algorithms
- you need guaranteed bug fixes or security updates

## Facets
- artifact type: library
- maturity: abandoned
- function: nlp, search-engine
- domain: developer-tools
- platform: browser
- tags: string-similarity, dice-coefficient, fuzzy-matching, deprecated, npm, natural-language-processing, nodejs, javascript

## Member repositories
- aceakash/string-similarity (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:59.010176+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:25:17.726321+00:00, confidence not recorded.
  - readme: https://github.com/aceakash/string-similarity (fetched 2026-08-28T04:06:59.010176+00:00, sha fdb7159c274e)
  - registry_npm: https://registry.npmjs.org/string-similarity (fetched 2026-08-29T10:07:43.386411+00:00, sha 83f9268da715)
- Data as of 2026-08-30T08:39:29.467469+00:00.
