1.0.1 • Published 7 years ago
lunicode-bubbles v1.0.1
Lunicode Bubbles
Provides a mirror effect for certain characters in strings, so they seem they are "mirrored". This is mainly for testing, emergency purposes (when you dont want to resort to css transforms.) or art.
Usage
Encode
bubbles.encode(string)
Replaces all chars in string with their bubbled equivalent. So it turns this sentence: "May the odds be ever in your favour"
Into "Ⓜⓐⓨ ⓣⓗⓔ ⓞⓓⓓⓢ ⓑⓔ ⓔⓥⓔⓡ ⓘⓝ ⓨⓞⓤⓡ ⓕⓐⓥⓞⓡ". You have to use the decode function to remove the bubbles..
Decode
bubbles.decode(string)
Reverses the effect of encode. So it turns Ⓜⓐⓨ ⓣⓗⓔ ⓞⓓⓓⓢ ⓑⓔ ⓔⓥⓔⓡ ⓘⓝ ⓨⓞⓤⓡ ⓕⓐⓥⓞⓡ back to "May the odds be ever in your favour".
1.0.1
7 years ago