0.3.1 • Published 6 years ago
mattophobia-says v0.3.1
Mattophobia Says
Inside the Mind of Mattophobia as JS Bindings.
Python Fork
There is a python fork of this project available here.
Documentation
new MattSays(swears, ings, standalone, merge)
Param | Type | Description |
---|---|---|
swears | string[] | List of Swear Words |
ings | string[] | List of -Ing Words |
standalone | string[] | List of Standalone Words/ Phrases |
merge | boolean | Merge with default arrays or just overwrite |
mattSays.generate(min, max) --> string
Generate a random Mattophobia Style Sentence
Kind: instance method of MattSays
Param | Type | Default | Description |
---|---|---|---|
min | number | 4 | Minimum number of words |
max | number | 18 | Maximum number of words |