1.0.7 • Published 4 years ago
every-other-caps v1.0.7
every-other-caps
Return string with every other character capitalized
For creating sarcastic strings.
Usage
const eoc = require('every-other-caps');
eoc('blah');
// => 'bLaH'
eoc('blah blah blahh');
// => 'bLaH bLaH bLaHh'