Official module of the Neko-Love API
npm install neko-love.js --save
Async/Await example
const Neko = require('neko-love.js');
async function test() {
console.log(await Neko("neko")); // https://neko-love.xyz/v1/neko/neko-love_314.png
}
test();
async function test() {
console.log(await Neko("endpoint")); // Returns the list of endpoints
}
test();
Promise example
const Neko = require("neko-love.js");
Neko("neko").then((res) => {
console.log(res); // https://neko-love.xyz/v1/neko/neko-love_314.png
});
Neko("endpoint").then((res) => {
console.log(res); // Returns the list of endpoints
});
Function | Description |
---|---|
neko |
Get a URL of a neko image |
slap |
Gets a URL of a slap image/gif |
pat |
Get a URL of a pat image/gif |
kiss |
Get a URL of a kiss image/gif |
hug |
Get a URL of a hug image/gif |
kitsune |
Get a URL of a fox girl image |
pat |
Get a URL of a pat image/gif |
cry |
Get a URL of a cry image/gif |
waifu |
Get a URL of a waifu image |
smug |
Get a URL of a smug image |
punch |
Get a URL of a punch image |
Function | Description |
---|---|
nekolewd |
Get a URL of a neko hentai image |
Full Neko Love API documentation