random-shout

3.0.0 • Public • Published

js-standard-style

random-shout

Useless module for random shouting.

It takes a string, changes a random selection of words to UPPER CASE and adds a random number of exclamation marks.

Usage

import { randomShout } from 'random-shout'
const sentence = 'To be, or not to be, that is the question'
console.log(randomShout(sentence)) //=> To be, OR NOT to BE, THAT IS the QUESTION!!
console.log(randomShout(sentence)) //=> To BE, or NOT to be, that is THE QUESTION!!!!
console.log(randomShout(sentence)) //=> To be, or not to be, that is the question!!!

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i random-shout

Weekly Downloads

0

Version

3.0.0

License

MIT

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • zrrrzzt