Wrapper around the quotable api
npm i node-quotable
import { getRandomQuote } from 'node-quotable';
const data = await getRandomQuote();
console.log(data)
data
is an object so you can get specific parts of it
import { getRandomQuote } from 'node-quotable';
const { content, author } = await getRandomQuote();
Apache 2.0