Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 610 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 610 Bytes

QuoteGarden

A NPM Package for quotes. The database currently includes more than 75000 quotes.

QuoteGarden library is just wrapper around https://github.com/pprathameshmore/QuoteGarden

Install

npm install @pprathameshmore/[email protected]

Usage

Get random quote

const { randomQuote, authorQuotes, genreQuotes, getQuotes, searchQuotes } = require("@pprathameshmore/quotegardennpm");

randomQuote()
  .then((quote) => {
    console.log(quote);
  })
  .catch((error) => {
    console.log(error);
  });

Contributing

All feedback and contributions are welcome!