Node module example poking fun at the president with the smallest hands in our nations history.... sigh
Made with TDD.
Installation
Just use npm: npm install --save trumpit
Usage
var trumpit = ;
isTrumped
Takes a string and returns true if a string is trumped or false if it is not.
A string is considered "trumped" if it contains any of the following phrases:
- is great again
- build a wall
var isStringTrumped = trumpit;var isStringTrumped2 = trumpit; console;console;
getTrumpism
Returns a random quote from Drumpf
var drumpfQuote = trumpit;console;
trumpIt
Takes a phrase as a string and appends a quote from drumpf to end of it
var phrase = "Test me";var trumpedPhrase = Trumpit; console;
getTrumpMeme
Returns a random meme poking fun of him
var trumpMemeUrl = trumpit;console;