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

A NodeJS library for generating random quotes

License

Notifications You must be signed in to change notification settings

pbnj/random-quote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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