@jgarrow/spongebob-case
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

A JavaScript utility function to convert a string into "Spongebob case".

Installation

npm i @jgarrow/spongebob-case

Usage

import { toSpongebobCase } from '@jgarrow/spongebob-case';

const myString = "This is a string.";
const spongebobString = toSpongebobCase(myString);

console.log(spongebobString); // "tHiS iS a StRiNg."

Readme

Keywords

none

Package Sidebar

Install

npm i @jgarrow/spongebob-case

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

2.75 kB

Total Files

5

Last publish

Collaborators

  • jgarrow