kaamelott-quotes
This projet is used to fetch kaamelott quotes
Usage
To use this package, just install it
$ npm i kaamelott-quotes
// or with yarn
$ yarn add kaamelott-quotes
and then use it like this
Usage with fetching
Use it like this if you want to fetch WikiQuote
const randomQuote = require('kaamelott-quotes')
const start = async () => {
const quote = await randomQuote(true)
// Use the quote
}
start()
Usage without fetching
Use it like this if you do not want to fetch WikiQuote
const randomQuote = require('kaamelott-quotes')
const start = async () => {
const quote = await randomQuote()
// Use the quote
}
start()
Credit
The quotes are fetched from WikiQuote