Home > Web Front-end > JS Tutorial > Derpify.js – a tool for these trying times…

Derpify.js – a tool for these trying times…

Patricia Arquette
Release: 2025-01-27 22:33:10
Original
236 people have browsed it

Derpify.js – a tool for these trying times…

Introducing Derpify.js: a lightweight npm package (just three lines of code!) for adding a touch of random capitalization to your strings. Need to playfully scramble the case of text? Derpify.js is your solution.

Here's how it works:

console.log(derpify('All he wanted to say was I love you all.'));
Copy after login

Output:

ALL hE WANTed to SAY WAS I lOVe YoU AlL.

Find Derpify.js here:

The above is the detailed content of Derpify.js – a tool for these trying times…. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template