Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

spongebob_squarepants_case

AtofStryker23MIT0.1.2

A utility that converts strings to spongebob case

sponge, spongebob, squarepants, mock, mocking, nitpicky, case

readme

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