Miss any of our Open RFC calls?Watch the recordings here! »

sponge-case

1.0.0 • Public • Published

Sponge Case

NPM version NPM downloads Bundle size

Transform into a string with random capitalization applied.

Installation

npm install sponge-case --save

Usage

import { spongeCase } from "sponge-case";
 
spongeCase("string"); //=> "sTrinG"
spongeCase("dot.case"); //=> "dOt.caSE"
spongeCase("PascalCase"); //=> "pASCaLCasE"
spongeCase("version 1.2.10"); //=> "VErSIoN 1.2.10"

Note: Capitalization outcomes are random.

License

MIT

Install

npm i sponge-case

DownloadsWeekly Downloads

23

Version

1.0.0

License

MIT

Unpacked Size

10.2 kB

Total Files

15

Last publish

Collaborators

  • avatar