Random

The class for generating random things such as cat images, dog images, jokes and much more!

Please make sure you do not instantiate this class. You can access it though const something = require('some-random-cat').Random

Methods </ >

.getAdvice() STATIC </ >

Random method to generate an advice.

.getCat() STATIC </ >

Random method to generate a random cat image.

.getDog() STATIC </ >

Random method to generate a random dog image.

.getFact() STATIC </ >

Random method to generate a random fact.

.getJoke() STATIC </ >

Random method to generate a random joke.

.getMeme(sub) STATIC </ >

Random method to generate a meme.

.getString(number) STATIC </ >

Gets a random string of a length.

.getTopic() STATIC </ >

Random method to generate a topic.

Last updated