JSPM

bunapi

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q30082F
  • License ISC

A simple image api

Package Exports

  • bunapi
  • bunapi/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bunapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm npm install size

NPM

BunAPI

A simple image api

Installation

npm i bunapi

Type

Function Type
meme (png/jpg)
girl (png/jpg)
boy (png/jpg)
cat (png/jpg)
dog (png/jpg)
hug (gif)
smile (gif)
baka (gif)
bite (gif)
clap (gif)
dance (gif)
die (gif)
kill (gif)
kiss (gif)
wag (gif)
poke (gif)
punch (gif)
sad (gif)
run (gif)
shot (gif)
randomvid (mp4)
anime-wallpaper (png/jpg)
sgirl (png/jpg)

Examples

Await/Async

const bunapi = require("bunapi");
const image = new BunApi("ac62d46aa2d557839d1ec7c3a6f6eb"); //api key

(async () => {
  console.log(await image.meme());
})();

Return:

{
    "author": "中村藍子#1204",
    "url": "https://media.discordapp.net/attachments/860374248275181598/860391071967215676/170408311_394610311891547_2511268824234698070_n.png"
}

Contact us

Contact Hyhy#6895 for api key