Forem

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:

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

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('');

Image of Datadog

Learn how to monitor AWS container environments at scale

In this eBook, Datadog and AWS share insights into the changing state of containers in the cloud and explore why orchestration technologies are an essential part of managing ever-changing containerized workloads.

Download the eBook

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay