nekos.life
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -14,3 +14,3 @@ { | ||
"Anal": "/img/anal", | ||
"AnalArts": "/img/anal_jpg", | ||
"Avatar": "/img/nsfw_avatar", | ||
"Yuri": "/img/yuri", | ||
@@ -17,0 +17,0 @@ "Trap": "/img/trap", |
{ | ||
"name": "nekos.life", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "JS wrapper for https://nekos.life", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,2 +15,5 @@ [![npm](https://img.shields.io/npm/v/nekos.life.svg)](https://www.npmjs.com/package/nekos.life) | ||
This wrapper has no external dependencies ;). | ||
### Updates | ||
I just added a typings file and will be working to improve it. This allows editors like VSC to use intellisense/autocomplete to suggest functions and help out with parameters and to see what you'll be receiving as a result of function calls. | ||
The wrapper functions all return promises, so you can use traditional promises or await/async. | ||
@@ -52,3 +55,3 @@ | ||
| `getNSFWAnal` | Gets a NSFW URL of anal image/gif | | ||
| `getNSFWAnalArts` | Gets a NSFW URL of anal image/gif | | ||
| `getNSFWAvatar` | Gets a NSFW URL of an avatar image/gif | | ||
| `getNSFWYuri` | Gets a NSFW URL of yuri image/gif | | ||
@@ -88,7 +91,7 @@ | `getNSFWTrap` | Gets a NSFW URL of trap image/gif | | ||
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 :) | ||
getSFWFact will return JSON `{response: <fact string>}` | ||
getSF8WBall 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. | ||
As of now, `getSFWOwOify`, `getSFW8Ball`, and `getSFWChat` 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.}` | ||
@@ -95,0 +98,0 @@ |
//List all the functions | ||
declare class NekoClient { | ||
getSFWTickle():any; | ||
getSFWSlap():any; | ||
getSFWPoke():any; | ||
getSFWPat():any; | ||
getSFWNeko():any; | ||
getSFWNekoGif():any; | ||
getSFWMeow():any; | ||
getSFWLizard():any; | ||
getSFWKiss():any; | ||
getSFWHug():any; | ||
getSFWFoxGirl():any; | ||
getSFWFeed():any; | ||
getSFWCuddle():any; | ||
getSFWWhy():any; | ||
getSFWCatText():any; | ||
getSFWOwOify(opts: NekoClient.NekoQueryParams):any; | ||
getSFWChat(opts: NekoClient.NekoQueryParams):any; | ||
getSFW8Ball():any; | ||
getSFWFact():any; | ||
getSFWKemonomimi():any; | ||
getSFWHolo():any; | ||
getNSFWRandomHentaiGif():any; | ||
getNSFWPussy():any; | ||
getNSFWNekoGif():any; | ||
getNSFWNeko():any; | ||
getNSFWLesbian():any; | ||
getNSFWKuni():any; | ||
getNSFWCumsluts():any; | ||
getNSFWClassic():any; | ||
getNSFWBoobs():any; | ||
getNSFWBJ():any; | ||
getNSFWAnal():any; | ||
getNSFWAnalArts():any; | ||
getNSFWYuri():any; | ||
getNSFWTrap():any; | ||
getNSFWTits():any; | ||
getNSFWGirlSoloGif():any; | ||
getNSFWGirlSolo():any; | ||
getNSFWSmallBoobs():any; | ||
getNSFWPussyWankGif():any; | ||
getNSFWPussyArt():any; | ||
getNSFWKemonomimi():any; | ||
getNSFWKitsune():any; | ||
getNSFWKeta():any; | ||
getNSFWHolo():any; | ||
getNSFWHoloEro():any; | ||
getNSFWHentai():any; | ||
getNSFWFutanari():any; | ||
getNSFWFemdom():any; | ||
getNSFWFeetGif():any; | ||
getNSFWEroFeet():any; | ||
getNSFWFeet():any; | ||
getNSFWEro():any; | ||
getNSFWEroKitsune():any; | ||
getNSFWEroKemonomimi():any; | ||
getNSFWEroNeko():any; | ||
getNSFWEroYuri():any; | ||
getNSFWCumArts():any; | ||
getNSFWBlowJob():any; | ||
getNSFWPussyGif():any; | ||
getSFWTickle():Promise<NekoClient.NekoRequestResults>; | ||
getSFWSlap():Promise<NekoClient.NekoRequestResults>; | ||
getSFWPoke():Promise<NekoClient.NekoRequestResults>; | ||
getSFWPat():Promise<NekoClient.NekoRequestResults>; | ||
getSFWNeko():Promise<NekoClient.NekoRequestResults>; | ||
getSFWNekoGif():Promise<NekoClient.NekoRequestResults>; | ||
getSFWMeow():Promise<NekoClient.NekoRequestResults>; | ||
getSFWLizard():Promise<NekoClient.NekoRequestResults>; | ||
getSFWKiss():Promise<NekoClient.NekoRequestResults>; | ||
getSFWHug():Promise<NekoClient.NekoRequestResults>; | ||
getSFWFoxGirl():Promise<NekoClient.NekoRequestResults>; | ||
getSFWFeed():Promise<NekoClient.NekoRequestResults>; | ||
getSFWCuddle():Promise<NekoClient.NekoRequestResults>; | ||
getSFWWhy():Promise<NekoClient.NekoWhyResult>; | ||
getSFWCatText():Promise<NekoClient.NekoCatResult>; | ||
getSFWOwOify(opts: NekoClient.NekoQueryParams):Promise<NekoClient.NekoOwOResult>; | ||
getSFWChat(opts: NekoClient.NekoChatParams):Promise<NekoClient.NekoChatResults>; | ||
getSFW8Ball(opts: NekoClient.NekoQueryParams):Promise<NekoClient.NekoChatResults>; | ||
getSFWFact():Promise<NekoClient.NekoChatResults>; | ||
getSFWKemonomimi():Promise<NekoClient.NekoRequestResults>; | ||
getSFWHolo():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWRandomHentaiGif():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWPussy():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWNekoGif():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWNeko():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWLesbian():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWKuni():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWCumsluts():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWClassic():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWBoobs():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWBJ():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWAnal():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWAvatar():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWYuri():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWTrap():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWTits():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWGirlSoloGif():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWGirlSolo():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWSmallBoobs():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWPussyWankGif():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWPussyArt():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWKemonomimi():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWKitsune():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWKeta():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWHolo():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWHoloEro():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWHentai():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWFutanari():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWFemdom():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWFeetGif():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWEroFeet():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWFeet():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWEro():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWEroKitsune():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWEroKemonomimi():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWEroNeko():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWEroYuri():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWCumArts():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWBlowJob():Promise<NekoClient.NekoRequestResults>; | ||
getNSFWPussyGif():Promise<NekoClient.NekoRequestResults>; | ||
} | ||
@@ -71,4 +71,24 @@ | ||
export interface NekoQueryParams { | ||
text?: string; | ||
text: string; | ||
} | ||
export interface NekoChatParams extends NekoQueryParams { | ||
owo?: boolean; | ||
} | ||
export interface NekoRequestResults { | ||
url: string; | ||
} | ||
export interface NekoChatResults { | ||
response: string; | ||
url?: string; | ||
} | ||
export interface NekoCatResult { | ||
cat: string; | ||
} | ||
export interface NekoWhyResult { | ||
why: string; | ||
} | ||
export interface NekoOwOResult { | ||
owo: string; | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14935
202
155