1.1.0 • Published 6 years ago
stoic-quotes v1.1.0
stoic-quotes
A selection of stoic quotes from the three heavyweights of stoicism - Seneca, Marcus Aurelius, Epictetus.
Installation
npm install --save stoic-quotes
Usage
const stoicQuote = require('stoic-quotes');
//random quote
console.log(stoicQuote());
//{ quote: 'He suffers more than necessary, who suffers before it is necessary.',
//author: 'Seneca' }
//random quote from specific author
stoicQuote('Seneca');
stoicQuote('Marcus');
stoicQuote('Epictetus');