1.1.0 • Published 4 years ago
@vivekalhat/randomquotes v1.1.0
Quotes
Simple NPM Package To Generate Random Quotes
Installation
npm i @vivekalhat/randomquotes
Usage
const qt = require("@vivekalhat/randomquotes");
var quote = qt.getQuote();
console.log(quote);
API
.getQuote
Type - Function\ Description - Returns a random quote
.getAll
Type - Function\ Description - Returns quotes array
.getByAuthor
Type - Function\ Description - Returns quote from given author
License
MIT © Vivek Alhat