Comparing version 1.0.1 to 1.0.2
196
index.js
@@ -1,194 +0,8 @@ | ||
function hug() { | ||
const API = require('./src/index'); | ||
let abrazo = [ | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug1.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug2.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug3.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug4.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug5.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug6.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug7.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug8.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug9.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug10.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug11.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug12.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug13.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug14.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug15.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug16.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug17.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug18.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug19.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug20.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug21.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug22.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug23.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug24.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug25.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug26.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug27.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug28.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug29.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug30.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug31.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug32.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug33.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug34.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug35.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug36.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug37.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug38.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug39.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug40.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/hug99.gif" | ||
]; | ||
let kytra = new API(); | ||
/** | ||
* Memes de imagenes en español | ||
* @returns {string} | ||
*/ | ||
return abrazo[Math.floor(Math.random() * abrazo.length)]; | ||
}; | ||
function kiss() { | ||
let beso = [ | ||
"https://i.pinimg.com/originals/04/7e/1b/047e1bef01702b9252ef3a528a2401ad.gif", | ||
"https://24.media.tumblr.com/5d51b3bbd64ccf1627dc87157a38e59f/tumblr_n5rfnvvj7H1t62gxao1_500.gif", | ||
"https://thumbs.gfycat.com/AdeptHelpfulKitty-max-1mb.gif", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953431893180456/image.gif?width=375&height=210", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953470849613824/image.gif?width=375&height=183", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953485877805056/image.gif?width=375&height=211", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953533810573312/image.gif?width=183&height=225", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953582195933185/image.gif?width=306&height=150", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953585085677568/image.gif?width=375&height=173", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953620183744512/image.gif?width=375&height=162", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953635023192074/image.gif?width=375&height=199", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953717273624577/image.gif?width=375&height=212", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953762546679808/image.gif?width=375&height=189", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953835666243584/image.gif?width=375&height=188", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953862140559360/image.gif?width=394&height=188", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953886811586561/image.gif?width=375&height=150", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953888149307392/image.gif?width=375&height=155", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953921716453387/image.gif?width=375&height=156", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953921716453387/image.gif?width=375&height=156", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953925126291467/image.gif?width=375&height=150", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953953769455626/image.gif?width=375&height=210", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953956537565204/image.gif?width=374&height=209", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953982865342465/image.gif?width=338&height=338", | ||
"https://media.discordapp.net/attachments/461953165873512449/461953984530481163/image.gif?width=345&height=274" | ||
]; | ||
/** | ||
* Memes de videos en español | ||
* @returns {string} | ||
*/ | ||
return beso[Math.floor(Math.random() * beso.length)]; | ||
async function API(){ | ||
console.log((await kytra.sfw.hug()).image) | ||
} | ||
function pat() { | ||
let acaricia = [ | ||
"https://media.tenor.com/images/ad8357e58d35c1d63b570ab7e587f212/tenor.gif", | ||
"https://media.tenor.com/images/69fb17b3eafe27df334f9f873473d531/tenor.gif", | ||
"https://media.tenor.com/images/943a52d38d896bda734a6396b1ffca89/tenor.gif", | ||
"https://media.tenor.com/images/943a52d38d896bda734a6396b1ffca89/tenor.gif", | ||
"https://media.tenor.com/images/bb4471bdc56bb2cf355338059d9fe4a0/tenor.gif", | ||
"https://media.tenor.com/images/fb3d47da964bd177d12a37488474a65f/tenor.gif", | ||
"https://media.tenor.com/images/89440731dab7b31691c9e035b86c5e62/tenor.gif", | ||
"https://media.tenor.com/images/dc61bf036b96b9a321943493c55ad8a4/tenor.gif", | ||
"https://media.tenor.com/images/3739a516b2f49bdd4b4667f0db7d3a48/tenor.gif", | ||
"https://media.tenor.com/images/87fc4ab2abde188093f9eb0d42698be2/tenor.gif", | ||
"https://media.tenor.com/images/a58b340308475e34e324ea437bb40641/tenor.gif", | ||
"https://media.tenor.com/images/40f454db8d7ee7ccad8998479fbabe69/tenor.gif", | ||
"https://media.tenor.com/images/96353d89d27896aa4bf2aa3688632f47/tenor.gif", | ||
"https://media.tenor.com/images/385a8d13c1ee5213e560e07d12320d02/tenor.gif", | ||
"https://media.tenor.com/images/bb4471bdc56bb2cf355338059d9fe4a0/tenor.gif", | ||
"https://media.tenor.com/images/a671268253717ff877474fd019ef73e9/tenor.gif", | ||
"https://media.tenor.com/images/3f1c0aa90027d7539c8e1c2526050956/tenor.gif", | ||
"https://media.tenor.com/images/a5bc0631e178956d3f0c5419ddd7e9c7/tenor.gif", | ||
"https://media.tenor.com/images/472582c4625ac190447c8867fac9c4d7/tenor.gif", | ||
"https://media.tenor.com/images/1ba00bc20666e44b23b9daec92a8f23f/tenor.gif", | ||
"https://media.tenor.com/images/f96474a71de044601e05ad4503b28282/tenor.gif", | ||
"https://media.tenor.com/images/18d7933b549eb5a5f2bd51f53fd8697a/tenor.gif", | ||
"https://media.tenor.com/images/9aab9f43f46927d0f7d94e5615a83284/tenor.gif", | ||
"https://media.tenor.com/images/09a4b724e986b12c391cf791a9a9db92/tenor.gif", | ||
"https://media.tenor.com/images/565253d431d73c67615120037bade555/tenor.gif", | ||
"https://media.tenor.com/images/68012c6f34c79497a117289e7386fea1/tenor.gif", | ||
"https://media.tenor.com/images/63853ef8fe8936c6a3ddf817fb77e8a5/tenor.gif", | ||
"https://media.tenor.com/images/27e35e2e393576d98a574d2dd75ca1b1/tenor.gif", | ||
"https://media.tenor.com/images/c76912d7b7d52c9ab18fac03feaabc72/tenor.gif", | ||
"https://media.tenor.com/images/a83353e24f64b554b989f629a045ad7d/tenor.gif", | ||
"https://media.tenor.com/images/dfd97460ac811dec31f7abd296839208/tenor.gif", | ||
"https://media.tenor.com/images/3dc7f665ac2fc1ec928f048813e30c1b/tenor.gif", | ||
"https://media.tenor.com/images/2b70ef4b8a2f0ac7ce79b86a9d709e5f/tenor.gif", | ||
"https://media.tenor.com/images/c74e55214ecad0c056a372a9eabc5743/tenor.gif", | ||
"https://media.tenor.com/images/70e121c7950605a48a5e8a30e6dda239/tenor.gif", | ||
"https://media.tenor.com/images/893724726d29ad9e238fbe84e16383af/tenor.gif", | ||
"https://media.tenor.com/images/bf5a7191bdea9a505298cd65e26c9722/tenor.gif", | ||
"https://media.tenor.com/images/4081edb97a1f6103d098de7b01e1624d/tenor.gif", | ||
"https://media.tenor.com/images/35e57758b9ce57702a30c264bf07be38/tenor.gif", | ||
"https://media.tenor.com/images/7cb5e535bcade89f2979cd3dd3bfde5a/tenor.gif", | ||
"https://media.tenor.com/images/5a5c96f548e3fd491a023a91090e1b32/tenor.gif", | ||
"https://media.tenor.com/images/fff2a6b14422ade3158c0b646533afc5/tenor.gif", | ||
"https://media.tenor.com/images/b3c73dfa8a92c29325140bee56087c13/tenor.gif", | ||
"https://media.tenor.com/images/ac9a49ebeaf8d5669ddf3eefeaa897c7/tenor.gif" | ||
]; | ||
/** | ||
* Memes de imagenes en español | ||
* @returns {string} | ||
*/ | ||
return acaricia[Math.floor(Math.random() * acaricia.length)]; | ||
}; | ||
function cuddle() { | ||
let recargarse = [ | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle1.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle2.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle3.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle4.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle5.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle6.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle7.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle8.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle9.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle10.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle11.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle12.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle13.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle14.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle15.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle16.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle17.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle18.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle19.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle20.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle21.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle22.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle23.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle24.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle25.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle26.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle27.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle28.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle29.gif", | ||
"https://cdn-kytra-api.aandroom.repl.co/images/cuddle30.gif" | ||
]; | ||
/** | ||
* Videos de putin en español | ||
* @returns {string} | ||
*/ | ||
return recargarse[Math.floor(Math.random) * recargarse.length]; | ||
} | ||
module.exports = { | ||
hug, | ||
kiss, | ||
pat, | ||
cuddle | ||
}; | ||
API(); |
{ | ||
"name": "kytra-api", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "An Anime Wrapper API that helps how to get random images!", | ||
"main": "index.js", | ||
"main": "src/index.js", | ||
"scripts": { | ||
@@ -10,15 +10,13 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"keywords": [ | ||
"anime", | ||
"discord", | ||
"Discord anime gifs", | ||
"gifs", | ||
"anime commands", | ||
"sfw", | ||
"wrapper" | ||
"kytra-api", | ||
"kytra-anime", | ||
"kytra-anime-gifs", | ||
"anime gifs", | ||
"anime" | ||
], | ||
"author": "Mairon73", | ||
"license": "MIT", | ||
"repository": { | ||
"url": "https://github.com/Mairon73/" | ||
"author": "Mairon", | ||
"license": "ISC", | ||
"dependencies": { | ||
"node-superfetch": "^0.1.11" | ||
} | ||
} |
@@ -12,4 +12,4 @@ # Kytra API | ||
```js | ||
const kytra = require("kytra-api"); //requerir el paquete | ||
console.log(memes.imagenesEspañol()) //retorna imagenes en español | ||
const kytra = require("kytra-api"); //require de package | ||
console.log(kytra.kiss()) //returns kiss anime gifs | ||
``` | ||
@@ -24,3 +24,3 @@ | ||
client.on('ready', () => { | ||
console.log('Listo!') | ||
console.log('ready!') | ||
}); | ||
@@ -39,3 +39,3 @@ | ||
A basis for interaction commands | ||
A base for interaction commands | ||
@@ -42,0 +42,0 @@ `memes.hug()` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
8
3471
1
71
2
2
+ Addednode-superfetch@^0.1.11
+ Addedasynckit@0.4.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@3.0.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addednode-superfetch@0.1.11(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)