包详细信息

spongebob_squarepants_case

AtofStryker43MIT0.1.2

A utility that converts strings to spongebob case

sponge, spongebob, squarepants, mock

自述文件

SpongeBob Squarepants Case

npm Build Status

For those times when regular insults don't cut it, SpongeBob SquarePants Case will allow you to facetiously mock whatever you'd like!

Example IO

in > "Well hi there, Patrick."
out > "wElL hI tHeRe, pAtRiCk."

in > "I thought of something funnier than 24. 25!"
out > "i tHoUgHt oF sOmEtHiNg fUnNiEr tHaN 24. 25!"

in > "tHiS mUsT bE yOuR wAlLeT"
out > "tHiS mUsT bE yOuR wAlLeT"

in > "IMAGINATION 🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈."
out > "iMaGiNaTiOn 🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈"

Prerequisites

For consumption, this package is ES5 compliant and will run in most modern environments.

For development, the below are required.

yarn >= 1.22
node >= 12.13.0

Installing

yarn install

Testing

yarn test

Building

yarn build