0.1.1 • Published 7 years ago

de-homoglyph v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 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

7 years ago

0.1.0

7 years ago