New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

kitty-api

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kitty-api

Great way on Getting cat pictures

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

kitty-api

Kitty API Is used to get Pictures of cats easily. You can Use it to get kittens, old cats and, normal cats.

Examples

Here Is a Simple example Using this package

(async () => {
const { getCat } = require('kitty-api');
const cat = await getCat();
console.log(cat)
})()

For this example I'm using discord.js but you can use this for anything

(async () => {
const { getCat } = require('kitty-api');
const { MessageAttachment } = require('discord.js');
const cat = await getCat();
const picture = new MessageAttachment(cat, "cat.png");
message.channel.send(picture)
})()

Keywords

cat

FAQs

Package last updated on 28 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts