1.1.8 • Published 4 months ago

nhentai-wrapper v1.1.8

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

NHentai Wrapper

Installation

npm install nhentai-wrapper

Usage

Example Code

const { getRandomDoujinshiDetails, getDoujinshiDetails, searchDoujinshis } = require("nhentai-wrapper");

async function main() {
  // Get details of a specific doujinshi
  const doujinshiId = 473546;
  const details = await getDoujinshiDetails(doujinshiId);
  console.log(details);

  //Get details of a random doujinshi
  const details = await getRandomDoujinshiDetails();
  const { id, title, categories, imageUrls } = details;
  console.log(details);

  // Search doujinshis
  const searchQuery = 'furry';
  const searchResults = await searchDoujinshis(searchQuery);
  console.log(searchResults);
}

main();
1.1.8

4 months ago

1.1.7

4 months ago

1.1.6

4 months ago

1.1.5

4 months ago

1.1.4

4 months ago

1.1.3

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago