New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

akaneko

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akaneko - npm Package Compare versions

Comparing version 5.2.3 to 5.2.5

test/index.js

2

lib/resolve.js

@@ -7,3 +7,3 @@ const fetch = require('node-fetch');

return fetch(`https://akaneko-api.herokuapp.com/api/${params}`)
return fetch(`https://cuteasfubuki.cf/api/${params}`)
.then(res => res.json())

@@ -10,0 +10,0 @@ .then(json => { return json.url });

{
"name": "akaneko",
"version": "5.2.3",
"version": "5.2.5",
"description": "An Anime/Hentai Image API which simplifies how you fetch random images for you! Reliable, and very pleasure friendly!",

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

@@ -22,2 +22,5 @@ <div align="center">

## v5.2.5 (Fix)
- Changed host website, fix issue with Akaneko not delivering images.
### v5.1.3

@@ -133,3 +136,3 @@ - Updated Typescript for succubus function, thanks Taksumaki ! ~

```javascript
// Just Calling my dear child, Akaneko //
// Akaneko //
const akaneko = require('akaneko');

@@ -139,3 +142,3 @@

async function yourFunctionName() {
console.log(await akaneko.nsfw.maid()); // Output: Some weird long link that you probably will definitely try to open //
return console.log(await akaneko.nsfw.maid()); // Output: Some weird long link that you probably will definitely try to open //
}

@@ -146,5 +149,5 @@

// Option 2, Using ".then" //
// Option 2, Returning a Promise //
akaneko.nsfw.maid().then((imageURL) => {
console.log(imageURL);
return console.log(imageURL);
})

@@ -169,2 +172,5 @@ ```

// EmbedBuilder //
const EmbedBuilder = Discord.EmbedBuilder;
// On "Message" Event! //

@@ -174,6 +180,6 @@ client.on('messageCreate', async (message) => {

// Checks if message channel is NSFW! //
if (!message.channel.nsfw) return message.channel.send('Sorry! Not NSFW Channel!');
if (!message.channel.nsfw) return message.channel.send('This channel isn\'t NSFW!');
// Create New Embed //
const embed = new Discord.MessageEmbed();
const embed = new EmbedBuilder();

@@ -222,3 +228,7 @@ // Defines Command //

## Disclaimer
I own none of the image, if there's an image deemed extremely inappropriate, or just needs to be removed in general,
please DM me the URL of the image, and I'll remove it as soon as possible :)
## Support
[Discord Server](https://discord.gg/DxHvWwC)
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