nhentai-wrapper
v1.1.3
Published
A Node.js wrapper for the NHentai API. Install with `npm install nhentai-wrapper`.
Downloads
21
Readme
NHentai Wrapper
Installation
npm install nhentai-wrapper
Usage
Example Code
const { getDoujinshiDetails, searchDoujinshis } = require("./nhentai");
async function main() {
// Get details of a specific doujinshi
const doujinshiId = 473546;
const details = await getDoujinshiDetails(doujinshiId);
console.log(details);
// Search doujinshis
const searchQuery = 'furry';
const searchResults = await searchDoujinshis(searchQuery);
console.log(searchResults);
}
main();