mirror of
https://github.com/litruv/unhomoglyph.git
synced 2026-07-24 10:46:14 +10:00
1.0.2
unhomoglyph
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
Languages
JavaScript
100%