Files
unhomoglyph/README.md
2017-03-05 05:16:50 +03:00

780 B
Raw 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, v9.0.0.

Install

npm install unhomoglyph --save

Example

const unhomoglyph = require('unhomoglyph');

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

Update

npm run update

License

MIT