JSPM

  • Created
  • Published
  • Downloads 404
  • Score
    100M100P100Q84276F
  • License ISC

Large Anime/Hentai Image API for random images from the local JSON, fast and reliable!

Package Exports

  • hmtai

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 (hmtai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


HMtai!


NPM version NPM downloads

hmtai is an Anime / Hentai (NSFW) Image API which simplifies how you fetch random images from the local JSON! More features and functions will be added soon!

Will be i updating this API? Of course no, dude, this API has a 2228 NSFW picture, and 268 SFW picture. All picture we added manually.

My goal is to create the most depraved library ever and I think I got it

Discord Server | Hentai Manager Bot in Discord | REST API

Installation

npm install hmtai

Example(s)

NodeJS:

// hmtai //
const hmtai = require("hmtai");

// Get SFW Neko Images, uwu //
console.log("SFW Neko: " + hmtai.neko());

// Get other NSFW Images //
console.log("Hentai: " + hmtai.nsfw.hentai());
console.log("BDSM: " + hmtai.nsfw.bdsm());
console.log("Ero: " + hmtai.nsfw.ero());

Legacy Function(s)

Example:

hmtai.function(); // Format
hmtai.neko(); // Example
hmtai.wallpaper(); // Example 2
Function Description
wallpaper SFW Wallpaper with Anime
mobileWallpaper SFW Wallpaper with Anime on Mobile
neko SFW Neko Girls (Cat Girls)
jahy So hot Jahy :3

NSFW Function(s)

Example:

hmtai.nsfw.function(); // Format
hmtai.nsfw.hentai(); // Example
Function Description
ass I know you like anime ass~ uwu
bdsm If you don't know what it is, search it up
cum Basically sticky white stuff that is usually milked from sharpies.
manga Sends a random doujin page imageURL!
femdom Female Domination?
hentai Sends a random vanilla hentai imageURL~
ero eros, ero Uniforms, etc, you know what eros are :3
orgy Group Lewd Acts
pantsu I mean... just why? You like underwear?
cuckold Wow, I won't even question your fetishes.
blowjob Basically an image of a girl sucking on a sharp blade!
foot So you like smelly feet huh?
vagina The genitals of a female, or a cat, you give the meaning.
ahegao So happy woman faces :))
uniform School Uniforms~
gangbang 5 on 1? Uh..
gif Basically an animated image, so yes :3
nsfwNeko NSFW Neko Girls (Cat Girls)
nsfwMobileWallpaper NSFW Anime Mobile Wallpaper

Wallpaper Function(s)

Example:

hmtai.nsfw.function(); // NSFW Format
hmtai.nsfw.mobileWallpaper(); // NSFW Example
Function Description
hmtai.mobileWallpaper() Fetch a random SFW Wallpaper! (Mobile)
hmtai.wallpaper() Fetch a random SFW Wallpaper! (Desktop)
hmtai.nsfw.nsfwMobileWallpaper() Fetch a random NSFW Wallpaper! (Mobile)

Discord Bot Example

// Imports Discord.JS and HMtai //
const Discord = require("discord.js");
const hmtai = require("hmtai");

// Create New Client //
const client = new Discord.Client();

// Bot Settings //
const settings = {
  prefix: "YOUR_BOT_PREFIX",
  token: "YOUR_BOT_TOKEN",
};

client.on("message", async (message) => {
  // Create New Embed //
  const embed = new Discord.MessageEmbed();

  // Defines Command //
  var command = message.content.toLowerCase().slice(settings.prefix.length).split(" ")[0];
  
  // Onii-chan, don't reply! //
  if (!message.content.startsWith(settings.prefix) || message.author.bot) return;

  if (command == "nsfwNeko") {

    // For Embed //
    embed.setImage(hmtai.nsfw.nsfwNeko());
    return message.channel.send(embed);

    // For Plain Text //
    return message.channel.send(hmtai.nsfw.nsfwNeko());

    // For Attachment //
    let img = hmtai.nsfw.nsfwNeko();
    return message.channel.send({file: [{ attachment: img, name: `NSFW${img.slice(-5)}` }]});
  } else if (command == "ero") {

    // For Embed //
    embed.setImage(hmtai.nsfw.ero());
    return message.channel.send(embed);

    // For Plain Text //
    return message.channel.send(hmtai.nsfw.ero());

    // For Attachment //
    let img = hmtai.nsfw.nsfwNeko();
    return message.channel.send({file: [{ attachment: img, name: `NSFW${img.slice(-5)}` }]});
  }
});

Support

Discord Server