Files
unhomoglyph/README.md
Vitaly Puzrin 0897ce4316 first commit
2016-12-09 12:28:08 +03:00

780 B
Raw Permalink Blame History

unhomoglyph

Build Status NPM version

Replace all homoglyphs with base characters. Useful to detect similar strings.

Data source - Recommended confusable mapping for IDN, v8.0.0.

Install

npm install unhomoglyph --save

Example

const unhomoglyph = require('unhomoglyph');

console.log(unhomoglyph('AΑА')); // => AAAAAAA

Update

npm run update

License

MIT