Skip to content

liveloveapp/7eleven-caps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

7ELEVEn-CAPs

7-ELEVEn LOGo

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published