0.1.0 • Published 8 years ago

aids v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Aids

MaKeS eVeRy OtHeR lEtTeR cApItaLiZeD.

aids is missing

var aids = require('aids')

aids('hello world')
// => 'HeLlO wOrLd'

aids('hello world', true)
// => '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

aids('hello world')
// => 'HeLlO wOrLd'

aids('hello world', true)
// => 'hElLo WoRlD'

License

MIT © Preston Kyles