https://github.com/ant-js/compare-similarity
👁 Compare the similarity of two strings
https://github.com/ant-js/compare-similarity
compare duplicates similarity utils
Last synced: 5 months ago
JSON representation
👁 Compare the similarity of two strings
- Host: GitHub
- URL: https://github.com/ant-js/compare-similarity
- Owner: ant-js
- License: mit
- Created: 2021-03-21T04:34:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T06:35:03.000Z (over 2 years ago)
- Last Synced: 2025-05-10T08:52:06.473Z (5 months ago)
- Topics: compare, duplicates, similarity, utils
- Language: TypeScript
- Homepage:
- Size: 12.7 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 👁 Compare Similarity
Compare the similarity of two strings.
[](https://www.npmjs.com/package/compare-similarity)

## 🚀 Usage
```js
const { compare } = require('compare-similarity');
// or
import { compare } from 'compare-similarity';console.log(compare('1234', '123');); // 0.75
```## LICENSE
[MIT](./LICENSE)