pbnj / random-quote

A NodeJS library for generating random quotes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A NodeJS library for generating random quotes

License:MIT License


Languages

Language:JavaScript 100.0%