Update README.md

This commit is contained in:
tate
2021-11-29 14:03:02 +11:00
committed by GitHub
parent 0f14f53ec4
commit 50c1f3aa73

View File

@@ -6,7 +6,8 @@
> Replace all homoglyphs with base characters. Useful to detect similar strings. > Replace all homoglyphs with base characters. Useful to detect similar strings.
For example, to prohibit register similar looking nicknames at websites. For example, to prohibit register similar looking nicknames at websites.
Data source - [Recommended confusable mapping for IDN](http://www.unicode.org/Public/security/latest/confusables.txt), v13.0.0. Data source - [Recommended confusable mapping for IDN](http://www.unicode.org/Public/security/latest/confusables.txt), v13.0.0.
Similar letters array in addOther.js provided by [litruv](https://github.com/litruv) and [KillAllTheHippies](https://github.com/killallthehippies).
__Note!__ Text after transform is NOT intended be read by humans. For example, __Note!__ Text after transform is NOT intended be read by humans. For example,
`m` will be transformed to `r` + `n`. Goal is to compare 2 strings after `m` will be transformed to `r` + `n`. Goal is to compare 2 strings after
@@ -17,7 +18,7 @@ then transformed strings are equal.
## Install ## Install
```bash ```bash
npm install unhomoglyph --save npm i git+https://github.com/TateB/unhomoglyph.git
``` ```