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.

Returns: Promise<Pending>``

.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.

Returns: Promise<Pending>``

.getJoke() STATIC

Random method to generate a random joke.

.getMeme(sub) STATIC

Random method to generate a meme.

Returns: Promise<Pending>``

.getString(number) STATIC

Returns: Promise<Pending>``

.getTopic() STATIC

Random method to generate a topic.

Last updated