Releases: vinitshahdeo/inspirational-quotes
Releases · vinitshahdeo/inspirational-quotes
Added support for `options` for `getQuote` method
With this release, getQuote
method will start accepting options
.
const Quote = require('inspirational-quotes');
console.log(Quote.getQuote({ author: false }); // return quote without author
By default, author info will be returned.
Default options
: { author: true }
NOTE: This version supports the legacy getRandomQuote
method that might be deprecated in further versions. Recommended to use getQuote
method with options
as { author: false }
The latest release - most stable + bug free
Please check here