zippy-quotes

1.0.0 • Public • Published

zippy-quotes

YOW!! A list of some CLASSIC quotes from the ZIPPY THE PINHEAD fortune file.

PRs welcome.

Install

npm install zippy-quotes [--g|--save]

Example

This module comes in an API and CLI. Example in code:

var zippy = require('zippy-quotes')
 
// random quote
console.log(zippy())
//=> '"DARK SHADOWS" is on!! Hey, I think the VAMPIRE forgot his UMBRELLA!!'
 
// the array of all quotes
console.log(zippy.quotes)

Usage

NPM

API

quote = zippy()

Returns a random quote string, like 'I'm CONTROLLED by the CIA!! EVERYONE is controlled by the CIA!!'.

list = zippy.quotes

The array of all quotes.

list = require('zippy-quotes/quotes.json')

The full JSON array.

CLI

You can also use the CLI here.

Usage:
  zippy-quotes [opt]
  
Options:
  --help  show help
  --all   list all quotes, separated by newlines

Example:

$ zippy-quotes
I just forgot my whole philosophy of life!!!

License

LNT, see LICENSE.md for details.

Package Sidebar

Install

npm i zippy-quotes

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • julescarbon