Hazmi35 / random-meow

Get a random image of a cat (0 dependencies!)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

random-meow

A Small package to get a random cat image

Powered by: https://random.cat/

N|Solid

Installation

NPM

npm install random-meow

Yarn

yarn add random-meow

Usage

const meow = require("random-meow");

// [note] You can use async/await
meow().then(url => console.log(url)).catch(console.error);

Note

This package requires Node.js version 6.13.0 or above, although the tested version is 10.x to 14.x, 6.13.0 to 9.x should work too

About

Get a random image of a cat (0 dependencies!)

License:MIT License


Languages

Language:JavaScript 95.5%Language:TypeScript 4.5%