1.4.5 • Published 2 years ago
argentinian-random-quote v1.4.5
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 🙌