You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
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

to
2.0.5

.github/FUNDING.yml

0

.github/ISSUE_TEMPLATE/bug_report.md

@@ -0,0 +0,0 @@ ---

1

endpoints.json

@@ -61,3 +61,2 @@ {

"fact": "/fact",
"chat": "/chat",
"nekoGif": "/img/ngif",

@@ -64,0 +63,0 @@ "kemonomimi": "/img/kemonomimi",

@@ -0,0 +0,0 @@ const {get} = require('https');

{
"name": "nekos.life",
"version": "2.0.4",
"version": "2.0.5",
"description": "JS wrapper for https://nekos.life",

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

@@ -99,5 +99,4 @@ [![npm](https://img.shields.io/npm/v/nekos.life.svg)](https://www.npmjs.com/package/nekos.life)

`sfw.8Ball` will return JSON `{response: <8Ball response string>, url: <URL to a matching 8Ball image>}`
`sfw.chat` will return JSON `{response: <reply string>}`, this one is special and will have an example :)
As of now, `OwOify`, `8Ball`, and `Chat` are the only ones with query 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.
As of now, `OwOify` and `8Ball` are the only ones with query 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.}`

@@ -157,21 +156,2 @@

`Chat` example
```js
const client = require('nekos.life');
const neko = new client();
async function work() {
let owo = await neko.sfw.chat({text: "What's up?"});
console.log(owo);
}
work();
```
returns
```js
{ response: 'Not much.' }
```
Try adding `owo: "true"` after the text prop ;). It would look like this `{text: "What's up?", owo: "true"}`
`8Ball` is prety much the exact same thing, except you can't use `owo` with it!
NSFW example

@@ -178,0 +158,0 @@ ```js

@@ -0,0 +0,0 @@ //List all the functions

Sorry, the diff of this file is not supported yet