lunicode-flip
v1.0.1
Published
Uses a flipped unicode symbol for each char, if available.
Downloads
8
Readme
Lunicode Flip
Provides a flip effect for certain characters in strings, so they seem they are "on their head". This is mainly for testing or emergency purposes (when you dont want to resort to css transforms.
Usage
Encode
flip.encode(string)
replaces all chars with their equivalent but on their heads. So it turns this sentence: "There is no drug on earth that can make life meaningful".
Into "lnɟɓuıuɐǝɯ ǝɟıl ǝʞɐɯ uɐɔ ʇɐɥʇ ɥʇɹɐǝ uo ɓnɹp ou sı ǝɹǝɥ⊥" Obviously, if you flip it again, it becomes normal again.
Decode
flip.decode(string)
Just a Ptr to the Encode function. It was already here when I got here, so I'll keep it for now.