Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ruanyl/similar

compare the similarity of two string
https://github.com/ruanyl/similar

Last synced: 18 days ago
JSON representation

compare the similarity of two string

Awesome Lists containing this project

README

        

# similar
compare the similarity of two string

Example:
```javascript
var str1 = 'Continuous Integration Your Hexo Blog With Travis CI';
var str2 = 'Continuous Integration Your Hexo Blog With Travis';
var similar = require('./index.js');
similar(str1, str2); // return 77.77, range 0-100(exactly the same)
```