Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nekos.life

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nekos.life

JS wrapper for https://nekos.life

  • 1.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
706
decreased by-22.93%
Maintainers
1
Weekly downloads
 
Created
Source

npm npm

NPM

Nekos.life

Installation

npm i -s nekos.life

This wrapper has no external dependencies ;).
The wrapper functions all return promises, so you can use traditional promises or await/async.

FunctionDescription
getSFWTickleGets a URL of a tickle image/gif
getSFWSlapGets a URL of a slap image/gif
getSFWPokeGets a URL of a poke image/gif
getSFWPatGet a URL of a pat image/gif
getSFWNekoGet a URL of a neko image
getSFWNekoGifGet a URL of a neko gif
getSFWMeowGet a URL of a cat image/gif
getSFWLizardGet a URL of a lizard image/gif
getSFWKissGet a URL of a kiss image/gif
getSFWHugGet a URL of a hug image/gif
getSFWFoxGirlGet a URL of a fox girl image/gif
getSFWFeedGet a URL of a feeding image/gif
getSFWCuddleGet a URL of a cuddle image/gif
getSFWWhyGet text of a question
getSFWCatTextGet text of a cat emoji
getSFWOwOifyGet OwOified text of a string
getSFWChatSends the text and replies with a text as a response
getSFW8BallSends the text and replies with a text as a response to the magic 8Ball and an image as well.
getSFWFactGets the text and replies with a text that is a random fact
getSFWKemonomimiGet a URL of a kemonomimi image/gif
getSFWHoloGet a URL of a Holo image/gif
getNSFWRandomHentaiGifGet a URL of hentai gif
getNSFWPussyGet a NSFW URL of a pussy image/gif
getNSFWNekoGifGet a NSFW URL of a neko gif
getNSFWNekoGet a NSFW URL of a neko image
getNSFWLesbianGet a NSFW URL of a lesbian image/gif
getNSFWKuniGet a NSFW URL of a kuni image/gif
getNSFWCumslutsGet a NSFW URL of a cumslut image/gif
getNSFWClassicGets a NSFW URL of the classic endpoint image/gif
getNSFWBoobsGets a NSFW URL of boobs image/gif
getNSFWBJGets a NSFW URL of bj image/gif
getNSFWAnalGets a NSFW URL of anal image/gif
getNSFWAnalArtsGets a NSFW URL of anal image/gif
getNSFWYuriGets a NSFW URL of yuri image/gif
getNSFWTrapGets a NSFW URL of trap image/gif
getNSFWTitsGets a NSFW URL of an/a image/gif containing tits
getNSFWGirlSoloGifGets a NSFW URL of a solo girl gif
getNSFWGirlSoloGets a NSFW URL of a solo girl image
getNSFWSmallBoobsGets a NSFW URL of an/a image/gif small boobs
getNSFWPussyWankGifGets a NSFW URL of a gif of pussy masterbation
getNSFWPussyArtGets a NSFW URL of an/a image/gif of pussy art
getNSFWKemonomimiGets a NSFW URL of an/a image/gif containing kemonomimi
getNSFWKitsuneGets a NSFW URL of an/a image/gif of kitsune
getNSFWKetaGets a NSFW URL of an/a image/gif of keta
getNSFWHoloGets a NSFW URL of an/a image/gif of Holo
getNSFWHoloEroGets a NSFW URL of an/a image/gif Holo ero
getNSFWHentaiGets a NSFW URL of an/a image/gif of hentai
getNSFWFutanariGets a NSFW URL of an/a image/gif of futa
getNSFWFemdomGets a NSFW URL of an/a image/gif of femdom
getNSFWFeetGifGets a NSFW URL of a gif of feet
getNSFWEroFeetGets a NSFW URL of an/a image/gif of ero feet
getNSFWFeetGets a NSFW URL of an image of feet
getNSFWEroGets a NSFW URL of an/a image/gif ero
getNSFWEroKitsuneGets a NSFW URL of an/a image/gif ero kitsune
getNSFWEroKemonomimiGets a NSFW URL of an/a image/gif ero kemonomimi
getNSFWEroNekoGets a NSFW URL of an/a image/gif ero neko
getNSFWEroYuriGets a NSFW URL of an/a image/gif ero yuri
getNSFWCumArtsGets a NSFW URL of an/a image/gif of cum arts
getNSFWBlowJobGets a NSFW URL of an/a image/gif blowjob
getNSFWPussyGifGets a NSFW URL of a gif of pussy

All of the endpoints but the ones marked with text, except Chat/8Ball/Fact in the description will return JSON: { url: <theURL>}.

getSFWCatText will return JSON: {cat: <catemoji>}
getSFWWhy will return JSON {why: <whytext>}
getSFWOwOify will return JSON {owo: <owoified string>}

getSFWFact will return JSON {response: <fact string>} getSF8Ball will return JSON {response: <8Ball response string>, url: <URL to a matching 8Ball image>} getSFWChat will return JSON {response: <reply string>}, this one is special and will have an example :)

As of now, getSFWOwOify is the only function that takes in querystring parameters. It requires an object containing the parameter, and the key should be the value. In this case, the key is text and the value is whatever you want OwOified. There is an example in this README. {text: 'Some text you want weebified.}

Examples

Await/Async example

const client = require('nekos.life');
const neko = new client();

async function test() {
  console.log(await neko.getSFWHug());
}

test();

returns:

{ url: 'https://cdn.nekos.life/hug/hug10050.gif' }

Promise example

const client = require('nekos.life');
const neko = new client();

neko.getSFWCatText().then((catText) => console.log(catText));

returns

{ cat: '((≡^⚲͜^≡))' }

getSFWOwOify example

async function work() {
  let owo = await neko.getSFWOwOify({text: 'This lib is really awesome!'});
  console.log(owo);
}

work();

returns

{ owo: 'This wib is weawwy awesome >w< ' }

getSFWChat example

async function work() {
  let owo = await neko.getSFWChat({text: "What's up?"});
  console.log(owo);
}

work();

returns

{ response: 'Not much.' }

Try adding owo: "true" after the text prop ;). It would look like this {text: "What's up?", owo: "true"}
getSFW8Ball is prety much the exact same thing, except you can't use owo with it!

Keywords

FAQs

Package last updated on 13 Aug 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc