0.1.1 • Published 6 years ago

de-homoglyph v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Number Formatter

A small library that adds sanitizes homoglyph ridden JSON and strings

Installation

npm install de-homoglyph

Usage

const deHomoglyph = require('de-homoglyph').deHomoglyph;
const badText = "Ѕuprеmе®/Thе North Fаcе® Mеtаllic Mountаin Βib";
deHomoglyph(badText);

Output should be Supreme®/The North Face® Metallic Mountain Bib

0.1.1

6 years ago

0.1.0

6 years ago