npm.io
1.0.0 • Published 8 years ago

alternating-case

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

Alternating Case

This is a simple Node.js package that allows you to create strings that alternate in case.

Usage:

const altCase = require("alternating-case");

altCase("hello"); // "HeLlO"
altcase("The quick, brown fox jumps over the lazy dog."); // "ThE QuIcK, bRoWn fOx jUmPs oVeR ThE LaZy dOg."

Have fun!

Keywords