Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

7eleven-caps

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

7eleven-caps

CAPITALIZe YOUr TEXt LIKe 7-ELEVEn

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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.

Keywords

FAQs

Package last updated on 05 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc