@mattplays/waifu.js

1.1.0 • Public • Published

Tests

@mattplays/waifu.js

@mattplays/waifu.js is an unoffical wrapper that utilizes the waifu.pics API to return high quality sfw and nsfw pictures of waifu's

Installation

npm i @mattplays/waifu.js

Usage

Valid Type Endpoints are

sfw, nsfw

Valid SFW Endpoints are:

waifu, neko, shinobu, megumin, bully, cuddle, cry, hug, awoo, kiss, lick, pat, smug, bonk, yeet, blush, smile, wave, highfive, handhold, nom, bite, glomp, slap, kill, kick, happy, wink, poke, dance, cringe

Valid NSFW Endpoints are:

waifu, neko, trap, blowjob

const { get, getMany } = require("@mattplays/waifu.js");
get("sfw", "waifu").then((data) => {
  console.log(url);
  /*
        {
            "url": "https://i.waifu.pics/Tj6Wzwo.png"
        }
    */
});
getMany("sfw", "pat").then((data) => {
  console.log(data);
  /*
    {
        "files": 
            [
                "https://i.waifu.pics/qUY7BBo.jpg"
            ]
    }
    */
});

License

@mattplays/waifu.js is Licensed under the MIT License.

Any and all data returned from this package is hereby owned by waifu.pics and leaves me under no obligation to take responsibility for the images returned.

Any and all complaints/issues or requests should be made directly to wafiu.pics.

/@mattplays/waifu.js/

    Package Sidebar

    Install

    npm i @mattplays/waifu.js

    Weekly Downloads

    4

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    6.57 kB

    Total Files

    6

    Last publish

    Collaborators

    • mattplays