@mattplays/randomfox.js

randomfox.js utilizes the randomfox API

Usage no npm install needed!

<script type="module">
  import mattplaysRandomfoxJs from 'https://cdn.skypack.dev/@mattplays/randomfox.js';
</script>

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