Skip to content

flowernal/quote.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

Releases

No releases published

Packages

No packages published