Skip to content

FranP-code/argentinian-random-quote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 🙌

About

Get your random argentinian quote in one moment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published