7eleven-caps
v0.0.2
Published
CAPITALIZe YOUr TEXt LIKe 7-ELEVEn
Downloads
5
Readme
7ELEVEn-CAPs
Do you ever feel like your strings just aren't unique enough? Want to stand out in a crowd of all-uppercase or all-lowercase words? Look no further, because 7ELEVEn-CAPs is here to help!
This TypeScript library exports a single function that will capitalize your string in the same way as the convenience store chain 7-Eleven: the first letter of each word is uppercase, and the last letter is lowercase. Finally, your strings can be just as cool as a Big Bite hotdog and a Slurpee combined!
Usage
import CAPITALIZe from "7eleven-caps";
const input = "this is a string";
const output = CAPITALIZe(input);
console.log(output); // "THIs Is A STRINg"
Contributing
Have a suggestion for a new feature? Found a bug? Head over to our GitHub repository and open an issue!
Warning
Please use this library responsibly. While 7ELEVEn-CAPs is a lot of fun, using it in formal or professional settings may result in confused colleagues and laughter from your friends.