GitHunt

random-quote

A NodeJS library for generating random quotes

NPM

Build Status
NSP Status

Install

npm i -S random-quote

Usage

const randomQuote = require('random-quote');

randomQuote()
  .then(quote => console.log(quote))
  .catch(err => console.error(err));

// [{"ID":2024,"title":"John C Jay","content":"<p>If all else fails, [working harder than anyone else] is the greatest competitive advantage of any career.</p>\n","link":"https://quotesondesign.com/john-c-jay/"}]

Languages

JavaScript100.0%

Contributors

MIT License
Created February 24, 2017
Updated January 28, 2023