poetic-brilliance
v1.0.1
Published
Instantaneous poetic and motivational delivery for the weary programmer, free of charge.
Downloads
11
Maintainers
Readme
const {getInspired, getMotivated, inspireMe, motivateMe} = require("poetic-brilliance");
getInspired(asJSON = false); //returns a random poem as text, or optionally, as JSON.
getMotivated(asJSON = false); //returns a random motivational quote as text, or optionally, as JSON.
console.log(getMotivated());
// getMotivated() and getInspired() return the poem/quote, so you need to do all that hard work of printing it out yourself. Very sad...
inpireMe(); //same as getInspired(), but it does the hard work of printing to the console for you. Hooray!
motivateMe(); //same as getMotivated(), but it does the hard work of printing to the console for you. Hooray!
//Both of these conventient functions also take the optional asJSON parameter. What fun!