0.1.1 • Published 6 years ago

fortunejs v0.1.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
6 years ago

fortune(topic, options) ⇒ Promise.<string>

Returns a random fortune from fortune-mod, which is licensed under the Simplified BSD Licence. The original README can be found in the 'db' directory of this package

Kind: global function
Returns: Promise.<string> - A promise to return the fortune. If no fortune matches the given options, the promise returns an empty string

ParamTypeDescription
topicstringAn optional topic for the fortune
optionsObjectAn options object with members 'topic' (fortune topic) and 'dirty' (whether fortune should be dirty)
0.1.1

6 years ago

0.1.0

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago