An example of how to generate a random cat image!
Last updated 3 years ago
// This snippet uses some-random-cat version 2.0 const somethingRandom = require('some-random-cat').Random somethingRandom.getCat() .then(res => { console.log(res) return }) // Get the result .catch(e => { console.error(e) return }) // Catch the error