1.1.8 • Published 5 months ago

nhentai-wrapper v1.1.8

Weekly downloads
-
License
ISC
Repository
github
Last release
5 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

5 months ago

1.1.7

5 months ago

1.1.6

5 months ago

1.1.5

5 months ago

1.1.4

5 months ago

1.1.3

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago