@mattplays/randomcat.js

randomcat.js utilizes the randomcat API

Usage no npm install needed!

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

README

randomcat.js

randomcat.js utilizes the randomcat API

Installation

npm i @mattplays/randomcat.js

Usage

Javascript

const randomcat = require("@mattplays/randomcat.js");
randomcat().then(({file}) => {
    console.log(file);
});

Typescript

import randomcat from "@mattplays/randomcat.js"
randomcat().then(({file}) => {
    console.log(file);
});

License

randomcat.js is Licensed under the MIT License