1.2.0 • Published 9 months ago

randoquoter v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Random Quote Generator

A simple npm package to generate and retrieve random quotes.

Installation

Install the package using npm:

npm install randoquoter

Usage

Import the function from the package and use them in your javascript code

const getQuote = require("randoquoter")

const quote = getQuote.getRandomQuote();

console.log(quote.text + " - " + quote.author)

API Reference

getRandomQuote() Returns a random quote object with text and author fields.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.