Skip to content

kdelmonte/get-random-quote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-random-quote Build Status

Gets a random quote for you using the Forismatic API. Great for giving your team some inspiration after a build 😀.

Build Message

Usage

import getRandomQuote from 'get-random-quote';

getRandomQuote
    .then((quote) => {
        console.log(quote);
        //{ 
        //    author: 'Edwin Chapin', 
        //    text: 'Every action of our lives touches on some chord that will vibrate in eternity.' 
        //}
    });

Installation

npm install get-random-quote

Run Test

npm run test or ava