@benhawley7/memeify

Transforming strings of text into meme formats

Usage no npm install needed!

<script type="module">
  import benhawley7Memeify from 'https://cdn.skypack.dev/@benhawley7/memeify';
</script>

README

@benhawley7/memeify

Turns strings of text into memes!

Install!

npm i @benhawley7/memeify

Example!

Require and call memeify function with the configured options for your meme string!

const {memeify} = require("@benhawley7/memeify");

// Configuration for the memeify options
// {
//     inserted?: boolean; // 馃 hey 馃 there 馃
//     insertion?: string; // 馃
//     inverted?: boolean; // hEy ThErE
//     flip?: boolean; // HeY tHeRe
//     reversed?: boolean; // ereht yeh
//     spaced?: boolean; // h e y  t h e r e
//     uppercase?: boolean; // HEY THERE
//     lowercase?: boolean; // hey there
//     zalgo?: boolean; // h虁虁虈虛虇虛酮虙虦虦蛵太袒蛪e蛼同蜎虉蛻态太贪泰y虄同虊停虜虆虉桐台挞蛿碳虣蛵酞蛽蛨 庭虂蛯蛫虖停蜔谈虩坦虩坛虡t虉虖蛢蛻蛺通蛼铜蜏虡摊蜁虣汰蜌h蛫虜虧汰e蛻虙庭蛼虃虧蜄虦蜌汰r彤蛡抬蜔虠蜋蜋e蛣虒虉虖亭通挞蛥酞坛
// }
const options = {inverted: true};
const memeText = memeify("i want to be a meme pls", options);
console.log(memeText); // "i WaNt To Be A mEmE pLs"