New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ecchi-api

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecchi-api

Memberi gambar henta* secara random

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Ecchi

Memberikan gambar henta* dan cosplay secara acak

Example henta*

const ecchi = require("ecchi-api");

ecchi.hentai()
  .then(result => {
    console.log(result);
  });

Example cosplay

const ecchi = require("ecchi-api");

ecchi.cosplay()
  .then(result => {
    console.log(result);
  });

Example donghua

const ecchi = require("ecchi-api");

ecchi.donghua()
  .then(result => {
    console.log(result);
  });

Contoh kode lengkap

Membutuhkan npm express dan readline.

const express = require("express");
const ecchi = require("ecchi-api");
const readline = require("readline").createInterface({
  input : process.stdin,
  output : process.stdout
});

const app = express();

readline.question("Masukan port : ",port => {
  app.listen(port,()=> {
    console.log("Website berjalan di http://localhost:"+port);
  });
  readline.close();
});

app.get("/",async (req,res) => {
  ecchi.hentai().then(data => {
    var web = `<center>
                 <br><br>
                 <h1>Ecchi image</h1><br>
                 <a href="${data.url}"><img src="${data.url}" height="720px"></a><br>
               </center>`;
    res.send(web);
  });
});

app.get("/cosplay",async (req,res) => {
  ecchi.cosplay().then(data => {
    var web = `<center>
                 <br><br>
                 <h1>Ecchi image</h1><br>
                 <a href="${data.url}"><img src="${data.url}" height="720px"></a><br>
               </center>`;
    res.send(web);
  });
});

app.get("/donghua",async (req,res) => {
  ecchi.donghua().then(data => {
    var web = `<center>
                 <br><br>
                 <h1>Ecchi image</h1><br>
                 <a href="${data.url}"><img src="${data.url}" height="720px"></a><br>
               </center>`;
    res.send(web);
  });
});

FAQs

Package last updated on 25 Jul 2023

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