Confusables

This library allows you to easily remove confusables from a string, into normal english characters.

Try it out: https://confusables.netlify.com/

Installation

yarn add confusables npm install confusables

Usage

Removing confusables

; import remove from ' confusables ' ; remove ( ' Ἢἕļľᦞ ш٥ṟｌᑰ! Hello World! ' ) ; remove ( ' Iлｔèｒｎåｔïｏｎɑｌíƶａｔïǫԉ ' ) ;

Injecting random confusables

; import { obfuscate } from ' confusables ' ; obfuscate ( ' Hello World! ' ) ; obfuscate ( ' Internationalization ' ) ;

List of supported confusable characters

; import { characters } from ' confusables ' ; console . log ( characters ) ;

What are confusables?