Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
nekos.life
Advanced tools
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 |
getSFWOwOify | Get OwOified text of a string |
getSFWChat | Sends the text and replies with a text as a response |
getSFW8Ball | Sends the text and replies with a text as a response to the magic 8Ball and an image as well. |
getSFWFact | Gets the text and replies with a text that is a random fact |
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
, 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.}
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!
FAQs
JS wrapper for https://nekos.life
The npm package nekos.life receives a total of 585 weekly downloads. As such, nekos.life popularity was classified as not popular.
We found that nekos.life demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.