compare-similarity
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

👁 Compare Similarity

Compare the similarity of two strings.

npm

🚀 Usage

const { compare } = require('compare-similarity');
// or
import { compare } from 'compare-similarity';

compare(a, b);
console.log('1234', '123'); // 0.75

LICENSE

MIT

Package Sidebar

Install

npm i compare-similarity

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

17.9 kB

Total Files

8

Last publish

Collaborators

  • xrkffgg