1.0.1 • Published 6 years ago

saywhat v1.0.1

Weekly downloads
4
License
Apache 2.0
Repository
github
Last release
6 years ago

saywhat

💬 a library that replaces alphabetical characters with similarly shaped symbols

Build Status Dependency Status devDependency Status Coverage Status npm npm

If you are interesting in using this in the browser please make sure to set <meta charset="utf-8">.

For the best experience encode and decode using this library to ensure properly constructed strings. Javascript has a unicode problem and it can be solved with tooling!

Usage

encode

const SayWhat = require('saywhat');
SayWhat.encode('hello'); // h👌ll👩🏼‍🌾

decode

const SayWhat = require('saywhat');
SayWhat.decode('h👌ll👩🏼‍🌾'); // hello

It works with numbers and letters!

const SayWhat = require('saywhat');
SayWhat.encode('12345 I see you'); // 123🕵️‍♀️5 ↔️ 👨‍👨‍👧‍👦📑👁 y👩🏻‍🚒u
SayWhat.decode('123🕵️‍♀️5 ↔️ 👨‍👨‍👧‍👦📑👁 y👩🏻‍🚒u'); // 12345 i see you

What is this?

This takes all known unicode characters and compares them against emojis and other symbols to find which emojis or characters most look alike. So for example if you wanted to see what hello would look like in encoded it might generate h👌ll👩🏼‍🌾.

Contributions

help with the comparing of the likeness of symbols!

npm run compile;
npm run build;
npm test;
npm run coverage;
1.0.1

6 years ago

1.0.0

6 years ago

0.4.0

7 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago