Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@rilecraft/random-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@rilecraft/random-api

Large Random API powered by APIs.

unpublished
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

Random API Package

This packages is made of many APIs and manually selected gifs array. This package will include things like images , facts etc. We try our best to keep it updated and easy to use.

Example Usage:

In Async

(async () => {
const animals = require("@rilecraft/random-api")
const duck = await animals.getDuck()
console.log(duck)
})()

Without Async

const animals = require("@rilecraft/random-api")
animals.getDuck().then(res => {
console.log(res)
})

Avaliable Functions List

Random Animal Images

  • getDog()
  • getCat()
  • getFox()
  • getDuck()
  • getPanda()
  • getBird()
  • getBear()
  • getKoala()

Random Animal Facts

  • getDogFacts()
  • getCatFacts()
  • getFoxFacts()
  • getDuckFacts()
  • getPandaFacts()
  • getBirdFacts()
  • getBearFacts()
  • getKoalaFacts()

Anime Gifs

  • getHug()
  • getSleep()
  • getPunch()
  • getSlap()
  • getPat()
  • getPout()
  • getKiss()
  • getWasted()

Note (❗)

  • Any abuse done to the API(s) using this package are NOT our responsibility. It is the responsibility of the person that was abusing using the package.

Keywords

random images

FAQs

Package last updated on 11 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