Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Latest commit

 

History

History
23 lines (17 loc) · 916 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 916 Bytes

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/"}]