Aids
MaKeS eVeRy OtHeR lEtTeR cApItaLiZeD.
var aids = // => 'HeLlO wOrLd' // => 'hElLo WoRlD'
Installation
Install aids into your project
npm install --save aids
Usage
aids(source, [offset])
Turn the source into alternating capital and lowercase letters.
Parameters
source
(String
): The source you want to turn into aids text.offset
(Boolean
): Start capitalizing on the second letter.
Example
// => 'HeLlO wOrLd' // => 'hElLo WoRlD'
License
MIT © Preston Kyles