homoglyph

1.1.2 • Public • Published

homoglyph Build Status

A port of mimic to node.js.

It's inspired by this terrible idea floating around:

MT: Replace a semicolon (;) with a greek question mark (;) in your friend's C# code and watch them pull their hair out over the syntax error

Peter Ritchie (@peterritchie) November 16, 2014

Install

$ npm install --save homoglyph

Usage

var homoglyph = require('homoglyph');
 
homoglyph.encode('text', opts);
homoglyph.decode('text');
 
homoglyph.dict
// A ES6 Map Object with normal characters as keys and an array of similar looking utf8 characters as value.
homoglyph.reverse
// A ES6 Map Object with similar looking characters as keys and their usual letters as values

Package Sidebar

Install

npm i homoglyph

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • cilice