DEV Community

Cover image for Derpify.js – a tool for these trying times…
Christian Heilmann
Christian Heilmann

Posted on • Originally published at christianheilmann.com

4

Derpify.js – a tool for these trying times…

DerpifyJS

As the times we live in demand it, I released Derpify.js. It is an npm package (3 line method) that turns strings into strings that are randomly mixed upper and lower case.

console.log(derpify('All he wanted to say was I love you all.'))
Enter fullscreen mode Exit fullscreen mode

gives you:

ALL hE WANTed to SAY WAS I lOVe YoU AlL.

Get it:

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (1)

Collapse
 
dannyengelman profile image
Danny Engelman

AI says:

const derpify = (s, r = 0.3) => s.split('').map(c => Math.random() < r ? c : c.toUpperCase()).join('');

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

If you found this post helpful, please leave a ❤️ or a friendly comment below!

Okay