{"id":26101612,"url":"https://github.com/mintone-creators/string-proximity","last_synced_at":"2026-04-27T05:31:48.699Z","repository":{"id":280428446,"uuid":"941961270","full_name":"Mintone-creators/string-proximity","owner":"Mintone-creators","description":"String-proximity is a high-performance string comparison library built in Rust, offering efficient similarity and proximity functions.","archived":false,"fork":false,"pushed_at":"2025-03-03T12:50:35.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T19:00:00.150Z","etag":null,"topics":["levenstein-distance","string-comparison","string-manipulation","text-similarity"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mintone-creators.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-03T10:46:46.000Z","updated_at":"2025-03-04T13:56:52.000Z","dependencies_parsed_at":"2025-03-03T13:11:19.977Z","dependency_job_id":null,"html_url":"https://github.com/Mintone-creators/string-proximity","commit_stats":null,"previous_names":["appujet/simzy","appujet/string-proximity","mintone-creators/string-proximity"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintone-creators%2Fstring-proximity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintone-creators%2Fstring-proximity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintone-creators%2Fstring-proximity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mintone-creators%2Fstring-proximity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mintone-creators","download_url":"https://codeload.github.com/Mintone-creators/string-proximity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242737009,"owners_count":20177092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["levenstein-distance","string-comparison","string-manipulation","text-similarity"],"created_at":"2025-03-09T19:00:02.673Z","updated_at":"2026-04-27T05:31:48.692Z","avatar_url":"https://github.com/Mintone-creators.png","language":"Rust","readme":"# string-proximity. - Fast String Similarity Library for Node.js\n\n[![CI](-https://github.com/Mintone-creators/string-proximity/actions/workflows/CI.yml/badge.svg)](-https://github.com/Mintone-creators/string-proximity/actions/workflows/CI.yml)  \n[![npm version](https://badge.fury.io/js/string-proximity.svg)](https://badge.fury.io/js/string-proximity)  \n[![GitHub Repo stars](https://img.shields.io/github/stars/appujet/string-proximity?style=social)](-https://github.com/Mintone-creators/string-proximity)\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Performance](#performance)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Overview\n\n**string-proximity.** is a high-performance string similarity library for Node.js, powered by Rust through NAPI bindings. Designed for speed and accuracy, string-proximity. supports both Unicode and ASCII characters. Whether you're building search engines, fuzzy matchers, or duplicate detectors, string-proximity. delivers precise similarity calculations without sacrificing ease of use.\n\n## Features\n\n- **Levenshtein Distance**  \n  Calculate the minimum number of edits (insertions, deletions, or substitutions) required to transform one string into another, with full Unicode support.\n\n- **Jaro-Winkler Similarity**  \n  Detect typos and perform fuzzy matching by measuring similarity based on common prefixes and transpositions.\n\n- **Best Match Finder**  \n  Quickly identify the closest match from a list of candidates, complete with confidence filtering to dismiss weak matches.\n\n## Installation\n\nInstall string-proximity. using your preferred package manager:\n\n```bash\nnpm install string-proximity\n# or\nyarn add string-proximity\n# or\npnpm add string-proximity\n```\n\n## Usage\n\nstring-proximity. is built to be intuitive and simple to integrate into your projects.\n\n### Calculating String Similarity\n\n```javascript\nimport { stringSimilarity, SimilarityAlgorithm } from 'string-proximity';\n\nconst score = stringSimilarity('hello', 'helo', SimilarityAlgorithm.JaroWinkler);\nconsole.log(`Similarity Score: ${score}`); // Example output: 0.96\n```\n\n### Computing Levenshtein Distance\n\n```javascript\nimport { levenshteinDistance } from 'string-proximity';\n\nconst distance = levenshteinDistance('kitten', 'sitting');\nconsole.log(`Levenshtein Distance: ${distance}`); // Example output: 3\n```\n\n### Finding the Best Match\n\n```javascript\nimport { findBestMatch } from 'string-proximity';\n\nconst result = findBestMatch('apple', ['apples', 'aple', 'apple']);\nconsole.log(`Best match: ${result.best_match.string}`);\nconsole.log(`Score: ${result.best_match.score}`);\n```\n\n## Testing\n\nstring-proximity. comes with a comprehensive suite of tests using AVA to ensure reliability and performance. Run the tests with:\n\n```bash\nnpm test\n```\n\n## Performance\n\nPowered by Rust, string-proximity. outperforms traditional JavaScript implementations for string similarity tasks. Whether you're comparing short strings or processing large volumes of text, string-proximity. delivers the speed and accuracy your application needs.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! If you have ideas for improvements, encounter bugs, or want to help optimize performance, please open an issue or submit a pull request. Together, we can make string-proximity. even better.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintone-creators%2Fstring-proximity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmintone-creators%2Fstring-proximity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintone-creators%2Fstring-proximity/lists"}