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-apiExample
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);
});