Skip to content

Releases: vinitshahdeo/inspirational-quotes

Added support for `options` for `getQuote` method

02 Oct 00:18
93d26e8
Compare
Choose a tag to compare

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

26 Aug 08:05
19f4c1b
Compare
Choose a tag to compare