7eleven-caps

0.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i 7eleven-caps

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

4.54 kB

Total Files

6

Last publish

Collaborators

  • mikeryan52