This npm is utilizing https://dog.ceo/dog-api/.
How to use?
const dog = require('random.dog.img');
async () => {
console.log(await dog()); //logs dog image url
}
This npm is utilizing https://dog.ceo/dog-api/.
const dog = require('random.dog.img');
async () => {
console.log(await dog()); //logs dog image url
}
npm i random.dog.img
3
2.0.1
ISC
667 B
3