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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    5
  • 1.1.2
    0
  • 1.1.1
    0
  • 1.1.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i randoquoter

Weekly Downloads

5

Version

1.2.0

License

ISC

Unpacked Size

10.1 MB

Total Files

18

Last publish

Collaborators

  • mayurade