Skip to content

Commit 8892d41

Browse files
authored
Update README.md
fix comparision to comparison
1 parent 7b28c13 commit 8892d41

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ A library implementing different string similarity, distance and sortMatch measu
3636
download
3737

3838
```shell
39-
npm install string-comparision --save
40-
yarn add string-comparision
39+
npm install string-comparison --save
40+
yarn add string-comparison
4141
```
4242
usage
4343

4444
```js
45-
let stringComparision = require('string-comparision')
45+
let stringComparison = require('string-comparison')
4646

4747
const Thanos = 'healed'
4848
const Rival = 'sealed'
4949
const Avengers = ['edward', 'sealed', 'theatre']
5050

5151
use by Consine
52-
let cos = stringComparision.consine
52+
let cos = stringComparison.consine
5353

5454
console.log(cos.similarity(Thanos, Rival))
5555
console.log(cos.distance(Thanos, Rival))
@@ -247,4 +247,4 @@ Return an array of objects. ex:
247247

248248

249249
## MIT
250-
[MIT](./LICENCE)
250+
[MIT](./LICENCE)

0 commit comments

Comments
 (0)