1.0.0 • Published 10 years ago

zippy-quotes v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

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.