UNPKG

super-random-quotes

Version:

Generate a random motivational quote with author.

20 lines (17 loc) 669 B
<h1><bold>SUPER RANDOM QUOTES</bold></h1> <h2>Introduction</h2> <p>Your go-to npm quotes provider package</p> <br> <p> This npm package contains 100 quotes and provides a random quote to the user with the author. This package is aimed at web-developer looking for a quick way of generating a random quote. Every quote is an object that contains the properties; text, and author. It contains a function to get a random quote out of 100 different quotes. </p> <h2>Usage</h2> <ol> <li> Import app.js file using -> <bold>const quote = require(‘./app’)</bold>; </li> <li> Get random quote using -> <bold>quote.getRandomQuote()</bold>; </li> </ul>