A library to work with san4ouZ random API A library to work with san4ouZ random API
Very simple to use library
npm i random-img-lib
There are two functions to work with, there are code examples
const { fullRandom, randomImage } = require('random-img-lib');
fullRandom().then(r => console.log(r));
/* Method above returns random image from random method that is exists */
randomImage('foxes').then(r => console.log(r));
/* Method above returns random image from provided method if it's exists */