gene-takovic-sports-talk

Gives you some of these sports talk like what Gene Takovic said from Better Call Saul.


Keywords
gene, takovic, sport, sports, talk, better call saul
License
MIT
Install
npm install gene-takovic-sports-talk@1.0.2

Documentation

Gene Takovic Sports Talk

JavaScript NodeJS NPM

Give you some of these sports talk like what Gene Takovic said from Better Call Saul.

gene-takovic-sports-talk

Installation

$ npm install gene-takovic-sports-talk

Quick start

const createGeneTakovic = require("gene-takovic-sports-talk");

const geneTakovic = createGeneTakovic();

geneTakovic.talk();
// I can't even talk about it
geneTakovic.talk();
// How hard can it be
geneTakovic.talk();
// I was thinking... Hey! this could be a long one!
geneTakovic.talk();
// Maybe...
geneTakovic.talk();
// The worst!

GeneTakovic Object

Add customized phrase

const createGeneTakovic = require("gene-takovic-sports-talk");

const customizedPhraseList = [
    "That's great.",
    "Sure, it was the best.",
    "Sometimes.",
    "That's true."
];

const geneTakovic = createGeneTakovic(customizedPhraseList);

geneTakovic.talkAll();
/*
I can't even talk about it
How hard can it be
I was thinking... Hey! this could be a long one!
Maybe...
The worst!
I know!
Me too.
That's great.
Sure, it was the best.
Sometimes.
That's true.
*/

Methods

talk(useColor)

useColor: default true

Call this function to print the sports talk in order.

geneTakovic.talk();
// I can't even talk about it
geneTakovic.talk();
// How hard can it be
geneTakovic.talk();
// I was thinking... Hey! this could be a long one!

talkAll(gap, useColor)

gap: default 1000 useColor: default true

Talk every phrase once in a while

geneTakovic.talkAll();
/*
I can't even talk about it
How hard can it be
I was thinking... Hey! this could be a long one!
Maybe...
The worst!
I know!
*/

talkAll demo

talkRandomly(useColor)

useColor: default true

Call this function to print the sports talk ramdomly.

geneTakovic.talkRandomly();
// I was thinking... Hey! this could be a long one!
geneTakovic.talkRandomly();
// I can't even talk about it
geneTakovic.talkRandomly();
// How hard can it be

getSportsTalk()

Return a sports talk in order.

getRandomSportsTalk()

Return a sports talk ramdomly.