/strangerstrings

Flip strings for the upside down.

Primary LanguageJavaScript

 ___ _____ ___    _   _  _  ___ ___ ___
/ __|_   _| _ \  /_\ | \| |/ __| __| _ \
\__ \ | | |   / / _ \| .` | (_ | _||   /
|___/_|_|_|_|_\/_/_\_\_|\_|\___|___|_|_\
    / __|_   _| _ \_ _| \| |/ __/ __|     
    \__ \ | | |   /| || .` | (_ \__ \     
    |___/ |_| |_|_\___|_|\_|\___|___/
       Strings from the UpsideDown
       uʍo◖ǝpısd∩ ǝɥʇ ɯoɹɟ sƃuıɹʇS     

Stranger Strings

A pretty simple JS/TS library inspired by Stranger Things® and hacked together by looking at this FileFormat article.

Usage

  StrangerStrings.upsideDown('Strings from the UpsideDown');
  // returns 'uʍo◖ǝpısd∩ ǝɥʇ ɯoɹɟ sƃuıɹʇS'

  StrangerStrings.upsideDown('uʍo◖ǝpısd∩ ǝɥʇ ɯoɹɟ sƃuıɹʇS');
  // returns 'Strings from the UpsideDown'

And beware the real Demogorgon!