1.0.0 • Published 8 years ago

node-fortune v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

Node Fortune

This is my attempt at a native port of the unix fortune app. The remainder of these docs are a direct port from the fortune man pages.

When fortune is run with no arguments it prints out a random epigram. Epigrams are divided into several categories, where each category is sub-divided into those which are potentially offensive and those which are not.

Install

npm install node-fortune

Usage

Options

  • -a - Choose from all lists of maxims, both offensive and not. (See the -o option for more information on offensive fortunes.)

  • -e - Consider all fortune files to be of equal size (see discussion below on multiple files).