argentinian-random-quote

1.4.5 • Public • Published

Argentinian Random Quote

Usage

  • Get list of random quotes
    const argRandomQuote = require("argentinian-random-quote");
    
    const quotes = argRandomQuote(
        10, //Quantity of quotes (1 by default)
        true, //If user wants repeated word or not (false by default)
        [], //Alternative array of quotes (not defined by default)
    )
  • Get all quotes availabe
    const quoteList = argRandomQuote.getAllQuotes()

How to colaborate

You can colaborate with more quotes modifying the quotes.json file and making a pull request of the changes.

The structure is the following:

{
    "quote": "x",
    "author": "y"
}

Any addition is welcomed 🙌

Readme

Keywords

Package Sidebar

Install

npm i argentinian-random-quote

Weekly Downloads

1

Version

1.4.5

License

ISC

Unpacked Size

62.8 kB

Total Files

6

Last publish

Collaborators

  • franp-code