quote.js
v2.0.0
Published
Picks random quote(s).
Downloads
3
Readme
quote.js
npm library for picking random quotes with options. There are 1639 quotes.
Installation:
npm i --save quote.js
Usage:
const quote = require("quote.js");
quote(amount, options);
For example:
quote(); // 1 random quote
quote(2, { minLength: 100 }); // 2 random quotes with the minimum length of 100
Options:
options = {
minLength: number,
maxLength: number,
authorIsKnown: boolean
}