1.0.2 • Published 2 years ago
random-greeting-generator v1.0.2
Random Greeting Generator
Utility function to generate random greetings, etc. from JSON files.
How to Use
There are utility function exports for three types of greetings: greetings
, goodbyes
, and oopsies
.
To generate a random greeting, use randomGreeting
.
To generate a random goodbye, use randomGoodbye
.
To generate a random oopsie, use randomOopsie
.
To pass in your own custom dictionary of strings, use the randomGreetingGenerator
function and pass an array of strings.