An open API service indexing awesome lists of open source software.

https://github.com/chrispritchard/zalgots

Small typescript library to C͕ͭ̆Ă̧̭͇̱̔͢L͎̲͙͕͓̃ͪ͑Lͬ҉̻ ̝̈̐̇THE͎̗̳͞ PȌ̢̄ͧ̎͏̩̳͔NY̴̼̏ͤ̂̽͂ H̨̜͙͚͍̞́͠E ͍̫̘̊C̐̊̂҉̣Ő̠͞MES ̸̟̦̳ͩ̏̄H̢̺̥̱͑̿E̘͛ ̏҉̬̣̺C̡O͉̖͈̲̯͖͌ͤMEṢ̷ͪ̀̑̓
https://github.com/chrispritchard/zalgots

typescript zalgo

Last synced: 3 months ago
JSON representation

Small typescript library to C͕ͭ̆Ă̧̭͇̱̔͢L͎̲͙͕͓̃ͪ͑Lͬ҉̻ ̝̈̐̇THE͎̗̳͞ PȌ̢̄ͧ̎͏̩̳͔NY̴̼̏ͤ̂̽͂ H̨̜͙͚͍̞́͠E ͍̫̘̊C̐̊̂҉̣Ő̠͞MES ̸̟̦̳ͩ̏̄H̢̺̥̱͑̿E̘͛ ̏҉̬̣̺C̡O͉̖͈̲̯͖͌ͤMEṢ̷ͪ̀̑̓

Awesome Lists containing this project

README

        

# Zalgo in TypeScript

There ͔̆oñ̥͓ͯ͗̕ce was a pe͖̯̲͈̎͟rfect answer to͍̟̒̀̀͡ a often ask̛̩̰̱̻͕͑ͣ̈́ed StackOverflow question: "RegEx match̡̪͒ͫ open tags except ̨̱̳̩͓̌͜X̧̭̲͊̇HTML sel͓͔̘̮̋ͪ͂̇̐f-containē̜̎d tags" - briefly, ho̡̻͚͉̻͙̾̉͜w to use a Regex to parse H̝̲̍͂̈́ͅTML ̶̗̄ͬͦ̀or XHTML. The a̩͉̱̝̾̎̕nswer ̴͉̳̭ͦͯͣgot...[weird](https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags).

I liḱ̞̫͐ͦed the effect, and look̮͛̀ed to see if̩͑̋́ ̤ͭ͞͞anyone had̵̎ͅ listed how͓͗͡ to do it. ͍̥ͣ̔S̺͎̩͉̄̊̊om͉͇͂̔͠eone did onê̩͚͊ be͓͖͕̊̚tter,̻͍̂̓͡ and ̸̨̝̣̘ͦ͊created a site that would do it on deman͊̓̀̕d in 2̙̍̑0ͤ̈҉̗̯̩̖09: [Zalgo text generator by tchouky](http://www.eeemo.net/).

Then someone ͏͖̱̖͖̙͡s̸͍̻ͪͅtole that scrip̟̽̀t, ą̾ͬ͋͢nd stuc͖͇̗̊͌k it on a G̘̱̲̭̿͊͂́it̸̹ͬͧHͩub gist. Then I stole it from them (well,̸̮̔͘ forked it).

In this project I hav̓ͥ̌̈́̒͝҉̟̟̮͍e refined̓ͬ́̐̒ ̖͚͊̓̾the gist down to a s̷̖̦̞͙̱̓ͭ̂imple typescript f͔͆̓͆̈͘ile that wí͓̝ͦ̓ͬͥ͘ll 'Zalgo-ise' any text ̮̇ͭ͛ͪ͝you give i̯t, ̧͓̳͙͑with͗͏̢͕͚̤ configurable o̼̯͔̝͋ͦ͂́ptions. Also in the repo is the s̶͖̟͗̾ͪ͘ame script a͖̖̽̓͊͛ͭ̚s JS compiled wit̿̀ͮ҉h TSC, and a sampļ̗̬̲̃e file.҉ Feel free̛̺͢ to use as yo̡̤̪̱͉̖ͅu wish (o̻̚͝r ste̷̯̬̯͍̝ͥ̾́̓al it in tuř̑͟n - woo̥̞͛ͥ̂ͦ unilic̝͗ense!).