kytra-api
Advanced tools
Comparing version 1.0.8 to 1.1.2
{ | ||
"name": "kytra-api", | ||
"version": "1.0.8", | ||
"version": "1.1.2", | ||
"description": "An Anime Wrapper API that helps how to get random images!", | ||
"main": "src/index.js", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"start": "node ./index.js" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"dependencies": { | ||
"fs": "0.0.1-security", | ||
"node-fetch": "^2.6.1", | ||
"node-superfetch": "^0.2.3" | ||
}, | ||
"typings": "./typings/index.d.ts", | ||
"author": "Mairon73", | ||
"license": "MIT", | ||
"keywords": [ | ||
"kytra-api", | ||
"kytra-anime", | ||
"kytra-anime-gifs", | ||
"anime gifs", | ||
"anime" | ||
], | ||
"author": "Mairon73", | ||
"license": "ISC", | ||
"dependencies": { | ||
"node-superfetch": "^0.1.11" | ||
} | ||
"kytra", | ||
"anime", | ||
"gifs", | ||
"wrapper", | ||
"endpoint", | ||
"api", | ||
"discord-bots", | ||
"nsfw", | ||
"reddit", | ||
"real", | ||
"endpoints", | ||
"sfw" | ||
] | ||
} |
@@ -1,61 +0,37 @@ | ||
### About: | ||
<div align="center"> | ||
<br /> | ||
<p> | ||
<a href="https://discord.gg/b8kU5QX"><img src="https://cdn.discordapp.com/attachments/702047402328195152/761426522057343006/20200930_213752.png" width="312" alt="Tnai Logo" /></a> | ||
</p> | ||
<br /> | ||
<p> | ||
<a href="https://www.npmjs.com/package/tnai"><img src="https://img.shields.io/npm/v/tnai.svg?logo=NPM&style=for-the-badge" alt="NPM version" /></a> | ||
<br /> | ||
<a href="https://www.npmjs.com/package/tnai"><img src="https://img.shields.io/npm/dt/tnai.svg?style=for-the-badge" alt="NPM downloads" /></a> | ||
<br /> | ||
<a href="https://discord.gg/b8kU5QX"><img src="https://img.shields.io/discord/619915844268326952?logo=Discord&color=%237289DA&label=Discord&style=for-the-badge" alt="Discord"></a> | ||
<br /> | ||
<a href="https://npmjs.org/package/tnai"><img src="https://nodei.co/npm/tnai.png?compact=true"></a> | ||
</p> | ||
</div> | ||
An Anime Wrapper API that helps how to get random images! | ||
### Basic: | ||
```js | ||
const Kytra = require('kytra-api') | ||
const kytra_gif = new Kytra() | ||
async function getIMG(){ | ||
let { image } = await kytra_gif.sfw.hug() | ||
console.log(image) | ||
} | ||
getIMG() | ||
//Want NSFW? Example: | ||
getNSFWImg() | ||
async function getNSFWImg(){ | ||
let { image } = await kytra_gif.nsfw.hentai() | ||
console.log(image) | ||
} | ||
``` | ||
### Download Method: | ||
## Installation | ||
```npm install tnai``` | ||
```js | ||
const Kytra = require('kytra-api') | ||
const kytra_gifs = new Kytra() | ||
## Documentation: | ||
let urlimage = 'https://example.com/file.jpg'; | ||
kytra_gifs.download(urlimage, path, 'hug.jpg') | ||
console.log('Image downloaded successfully') | ||
* **[DOCUMENTATION](https://docs.tnai.ml)** | ||
``` | ||
**Note:** **(**`The HENTAI and PORN category were temporarily disabled further updates on the support server.`**)** | ||
### Discord Bot Method: | ||
```js | ||
//Ejemplo geimer | ||
const Discord = require('discord.js'); | ||
const client = new Discord.Client() | ||
//cosas necesarias para sacar los gifs ;) | ||
const Kytra = require('kytra-api') | ||
const kytra_gifs = new Kytra() | ||
client.on('message', (message) => { | ||
if (message.content.startsWith('hug')){ | ||
kytra_gifs.sfw.hug().then(response => { | ||
const embed = new Discord.MessageEmbed() | ||
.setDescription("Mairon se ha abrazado a si mismo") | ||
.setImage(response.image) | ||
message.channel.send(embed) | ||
}) | ||
} | ||
}) | ||
``` | ||
## Support Server | ||
* **[Join Here](https://discord.gg/PK9KA64ybM)** | ||
* **[Join Here](https://discord.gg/2BQMYyV)** | ||
## Developers | ||
* [Mairon73](https://github.com/Mairon73) (**Discord:** `Mairon#0001`) | ||
* [Mairon31](https://github.com/Mairon31) (**Discord:** `Mairon31#9999`) | ||
### Contributors | ||
* [Danny Palma](https://github.com/danny-palma) (**Discord:** `Danny Palma uwu#0888`) | ||
* [Jean](https://github.com/JeanCarlosVR) (**Discord:** `if#3897`) |
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
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
7166
9
131
1
3
38
2
+ Addedfs@0.0.1-security
+ Addednode-fetch@^2.6.1
+ Addedform-data@4.0.0(transitive)
+ Addedfs@0.0.1-security(transitive)
+ Addednode-superfetch@0.2.3(transitive)
- Removedform-data@3.0.1(transitive)
- Removednode-superfetch@0.1.11(transitive)
Updatednode-superfetch@^0.2.3