gene-takovic-sports-talk
v1.0.2
Published
Gives you some of these sports talk like what Gene Takovic said from Better Call Saul.
Maintainers
Readme
Gene Takovic Sports Talk
Give you some of these sports talk like what Gene Takovic said from Better Call Saul.
Installation
$ npm install gene-takovic-sports-talkQuick 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!
*/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 begetSportsTalk()
Return a sports talk in order.
getRandomSportsTalk()
Return a sports talk ramdomly.
