neastooapi
Advanced tools
Comparing version 0.0.3 to 0.1.3
@@ -11,4 +11,6 @@ import { chatGPT } from './plugins/Ai-ChatGPT.js'; | ||
import { nhentaiSearch } from './plugins/AN-nhentai.js'; | ||
import { sfwAnime } from './plugins/AN-sfwnime.js'; | ||
import { charAnimeInfo } from './plugins/AN-charinfo.js'; | ||
// Ekspor semua fitur di sini | ||
export { chatGPT, blackBoxChat, TiktokDL, ytbmp3downloader, ytbmp4downloader, InstagramDL, SpotifyDL, twitterDownloader, googleDriveDownloader, megaDl, nhentaiSearch }; | ||
export { chatGPT, blackBoxChat, TiktokDL, ytbmp3downloader, ytbmp4downloader, InstagramDL, SpotifyDL, twitterDownloader, googleDriveDownloader, megaDl, nhentaiSearch, sfwAnime, charAnimeInfo }; |
{ | ||
"name": "neastooapi", | ||
"version": "0.0.3", | ||
"description": "Scraper Module NPMJS", | ||
"version": "0.1.3", | ||
"description": "Scraper Module NSTID", | ||
"main": "index.js", | ||
@@ -76,9 +76,14 @@ "type": "module", | ||
], | ||
"author": "YusupKakuu", | ||
"author": "NeofetchNpc", | ||
"license": "ISC", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/NeofetchNpc/NeastooAPI.git" | ||
}, | ||
"homepage": "https://api.neastooid.xyz", | ||
"dependencies": { | ||
"node-fetch": "^3.3.2", | ||
"cheerio": "1.0.0-rc.12", | ||
"axios": "1.7.7" | ||
"axios": "^1.7.2" | ||
} | ||
} |
@@ -9,6 +9,14 @@ import fetch from 'node-fetch'; | ||
if (data.success) { | ||
if (data && Array.isArray(data) && data.length > 0) { | ||
// Format hasil sesuai dengan keinginan Anda, dengan objek 'results' yang berisi gambar | ||
const results = data.map(item => ({ | ||
title: item.title, | ||
imgSrc: item.imgSrc, | ||
link: item.link | ||
})); | ||
return { | ||
results: data.results || [], | ||
total: data.total || 0, | ||
results: results, | ||
total: results.length, | ||
error: null | ||
}; | ||
@@ -15,0 +23,0 @@ } else { |
@@ -133,5 +133,38 @@ [![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/colored.png)](#table-of-contents) | ||
```js | ||
Pop Mie - Under Construction (Maybe?) | ||
import { sfwAnime } from 'neastooapi'; | ||
(async () => { | ||
const result = await sfwAnime(); | ||
console.log("SFW Anime Results:", result); | ||
})(); | ||
``` | ||
2. Nhentai Search | ||
```js | ||
import { nhentaiSearch } from 'neastooapi'; | ||
(async () => { | ||
const query = "Blue Archive"; | ||
const response = await nhentaiSearch(query); | ||
console.log("Nsearch Results:", response); | ||
})(); | ||
``` | ||
3. Char Anime Info | ||
```js | ||
import { charAnimeInfo } from 'neastooapi'; | ||
(async () => { | ||
const query = "Vermail"; | ||
const response = await charAnimeInfo(query); | ||
console.log("Character Results:", response); | ||
})(); | ||
``` | ||
`📌 Tools Features </>` | ||
1. Search Google Image | ||
```js | ||
Pop Mie Ahhh - Working Process | ||
``` | ||
--------- | ||
@@ -138,0 +171,0 @@ |
@@ -1,8 +0,7 @@ | ||
import { chatGPT } from './index.js'; | ||
import { charAnimeInfo } from './index.js'; | ||
(async () => { | ||
const prompt = "Hi"; | ||
const response = await chatGPT(prompt); | ||
console.log("Response from chatGPT:", response); // Menampilkan respons di log terminal | ||
const query = "Vermail"; | ||
const response = await charAnimeInfo(query); | ||
console.log("Character Results:", response); | ||
})(); |
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
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
20560
18
355
1
184
0
13
Updatedaxios@^1.7.2