Skip to content

kyi193/kevins-thought-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kevin's Thought Machine

This package is designed to help users come up with a randomly generated answer like a magic eight ball. Kevin's Thought Machine comes prepackaged with multiple random answers. Some answers even cotanin randomness within them!

Installation

npm i @kyi193/kevins-thought-machine
or
yarn add @kyi193/kevins-thought-machine

How to use

import KevinsThoughtMachine from '@kyi193/kevins-thought-machine/dist'

//Initialize a new KevinsThoughtMachine class.
const kevinsThoughtMachine = new KevinsThoughtMachine()

//Retrieve a random response
const answer = kevinsThoughtMachine.getResponse().answer

Authors

  • Kevin Yi