README
randomfox.js
randomfox.js utilizes the randomfox API
Installation
npm i @mattplays/randomfox.js
Usage
Javascript
const randomfox = require("@mattplays/randomfox.js");
randomfox().then(({image, link}) => {
console.log(image, link);
});
Typescript
import randomfox from "@mattplays/randomfox.js";
randomfox().then(({image, link}) => {
console.log(image, link);
});
License
randomfox.js is Licensed under the MIT License