quote.js

2.0.0 • Public • Published

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
}

Readme

Keywords

Package Sidebar

Install

npm i quote.js

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

419 kB

Total Files

8

Last publish

Collaborators

  • bramborask