JSPM

  • Created
  • Published
  • Downloads 255
  • Score
    100M100P100Q85060F
  • License ISC

Large Anime/Hentai Image API for random images, fast and reliable!

Package Exports

  • hmtai
  • hmtai/src/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 (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 REST! More features and functions will be added soon!

Will be i updating this API? Of course nyse, dude, but this API has a 18.000 NSFW picture, and 442 SFW picture. 18 442 total. 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 | HMfull

Installation

npm install hmtai

Changelogs

v3.0.0

  • Changed into Promise requests
  • TypeScript Support

Example(s)

NodeJS:

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

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

// Get other NSFW Images //
console.log("Hentai: " + await hmtai.nsfw.hentai());
console.log("BDSM: " + await hmtai.nsfw.bdsm());
console.log("Ero: " + await 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
lick SFW licks gifs :P
slap SFW slap gifs xD
depression SFW depression Gifs :c

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.
creampie So hot, sticky, and inside uwu
manga Sends a random doujin page imageURL!
femdom Female Domination?
hentai Sends a random vanilla hentai imageURL~
incest I know, you like it. Brothet and sister <3 And..mo...omg
masturbation You like lewd solo?~
public Some people like do it on a public..uh~
ero eros, ero Uniforms, etc, you know what eros are :3
orgy Group Lewd Acts
elves So, it's not Elvis Presley, but i know, you like it :)
yuri What about cute Les?~
pantsu I mean... just why? You like underwear?
glasses Girls that wear glasses, uwu~
cuckold Wow, I won't even question your fetishes.
blowjob Basically an image of a girl sucking on a sharp blade!
boobjob So soft, round ... gentle ... damn we love it
foot So you like smelly feet huh?
thighs Oh, i so like it, it's best of the best, like a religion <3
vagina The genitals of a female, or a cat, you give the meaning.
ahegao So happy woman faces :))
uniform School and many other Uniforms~
gangbang 5 on 1? Uh..
tentacles I'm sorry but, why do you like it? Uh..
gif Basically an animated image, so yes :3
nsfwNeko NSFW Neko Girls (Cat Girls)
nsfwMobileWallpaper NSFW Anime Mobile Wallpaper
zettaiRyouiki That one part of the flesh being squeeze in thigh-highs~<3

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"); // v12
const HMtai = require("hmtai");
const hmtai = new 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(await hmtai.nsfw.nsfwNeko());
    return message.channel.send(embed);

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

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

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

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

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

Thank Yous

  • 💗Halami💗#1469 (What she shared with me her NSFW library!)

Sources

I hand picked most of the images from the following: Discord Servers, Konachan, Patreon, Friends sending to me, nHentai, gelbooru, etc.

Support

Discord Server