randoquoter

1.2.0 • Public • Published

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.

Package Sidebar

Install

npm i randoquoter

Weekly Downloads

7

Version

1.2.0

License

ISC

Unpacked Size

10.1 MB

Total Files

18

Last publish

Collaborators

  • mayurade