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 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

endpoints.json

2

package.json
{
"name": "nekos.life",
"version": "1.0.0",
"version": "1.0.1",
"description": "JS wrapper for https://nekos.life",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,1 +0,78 @@

nekos-dot-life
[![npm](https://img.shields.io/npm/v/nekos.life.svg)](https://www.npmjs.com/package/nekos.life)
[![npm](https://img.shields.io/npm/dt/nekos.life.svg?maxAge=3600)](https://www.npmjs.com/package/nekos.life)
[![NPM](https://nodei.co/npm/nekos.life.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/nekos.life/)
# 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.
| Function | Description |
| -------- | ----------- |
| `getSFWTickle` | Gets a URL of a tickle image/gif |
| `getSFWSlap` | Gets a URL of a slap image/gif |
| `getSFWPoke` | Gets a URL of a poke image/gif |
| `getSFWPat` | Get a URL of a pat image/gif |
| `getSFWNeko` | Get a URL of a neko image/gif |
| `getSFWMeow` | Get a URL of a cat image/gif |
| `getSFWLizard` | Get a URL of a lizard image/gif |
| `getSFWKiss` | Get a URL of a kiss image/gif |
| `getSFWHug` | Get a URL of a hug image/gif |
| `getSFWFoxGirl` | Get a URL of a fox girl image/gif |
| `getSFWFeed` | Get a URL of a feeding image/gif |
| `getSFWCuddle` | Get a URL of a cuddle image/gif |
| `getSFWWhy` | Get `text` of a question |
| `getSFWCatText`| Get `text` of a cat emoji |
| `getNSFWRandomHentaiGif` | Get a URL of hentai gif |
| `getNSFWPussy` | Get a NSFW URL of a pussy image/gif |
| `getNSFWNekoGif`| Get a NSFW URL of a neko gif |
| `getNSFWNeko` | Get a NSFW URL of a neko image |
| `getNSFWLesbian` | Get a NSFW URL of a lesbian image/gif |
| `getNSFWKuni` | Get a NSFW URL of a kuni image/gif |
| `getNSFWCumsluts` | Get a NSFW URL of a cumslut image/gif |
| `getNSFWClassic` | Gets a NSFW URL of the classic endpoint image/gif |
| `getNSFWBoobs` | Gets a NSFW URL of boobs image/gif |
| `getNSFWBj` | Gets a NSFW URL of bj image/gif |
| `getNSFWAnal` | Gets a NSFW URL of anal image/gif |
All of the endpoints but the ones marked with `text` in the description will return JSON: `{ url: <theURL>}`.
getSFWCatText will return JSON: `{cat: <catemoji>}`
getSFWWhy will return JSON `{why: <whytext>}`
## Examples
Await/Async example
```js
const client = require('nekos.life');
const neko = new client();
async function test() {
console.log(await client.getSFWHug());
}
test();
```
returns:
```js
{ url: 'https://cdn.nekos.life/hug/hug10050.gif' }
```
Promise example
```js
const client = require('nekos.life');
const neko = new client();
neko.getSFWCatText().then((catText) => console.log(catText));
```
returns
```js
{ cat: '((≡^⚲͜^≡))' }
```
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