- Notifications
You must be signed in to change notification settings - Fork0
An npm module that provides random fox images. Fast and reliable. 🦊🌿
License
NotificationsYou must be signed in to change notification settings
sefinek/random-fox-img
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This module retrieves random fox images from theapi.sefinek.net API using native module likehttps.Each image is appropriately compressed.
npm install random-fox-img
constgetRandomFox=require('random-fox-img');
(async()=>{constdata=awaitgetRandomFox();console.log(data.message);})();
getRandomFox().then(data=>console.log(data.message));
{"success":true,"status":200,"info": {"category":"animals","endpoint":"fox" },"message":"https://cdn.sefinek.net/images/animals/fox/red-fox-in-the-wild-2-1624831.jpg"}
Open a newIssue if you have any questions or issues related to this module or API.
If you like this module, please starthe repository.
Copyright 2023-2024 © bySefinek. All Rights Reserved.
About
An npm module that provides random fox images. Fast and reliable. 🦊🌿