Overview
Aids is a simple plugin that makes every other letter capitalized for maximum cringe. Spreading cancer on the Internet has never been so simple!
Installation
Just install aids into your project via npm:
npm install --save aids
Alternatively, we've cooked up a CLI implementation for you top programmers out there.
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
var aids = require('aids')
aids('hello world')
// => 'HeLlO wOrLd'
aids('hello world', true)
// => 'hElLo WoRlD'
![Oh dear](images/runkit.png)