JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 53
  • Score
    100M100P100Q62467F
  • License MIT

nhentai unofficial api

Package Exports

  • nana-api

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nana-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Nana API

nHentai unofficial API

Install

npm install nana-api

Example

const NanaAPI = require('nana-api');
const nana = new NanaAPI();

// Get gallery from book ID or book link
nana.g('14045').then(g => {
    console.log(g);
});
nana.g('https://nhentai.net/g/4501').then(g => {
    console.log(g);
});