Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nhentai-pdf

PrajjwalDatir121AGPL-3.01.0.0TypeScript support: included

NPM package to be used for getting the holy numbers in pdf 🌚 Welcome to the Darkness

nhentai, nhentai, pdf, doujin, downloader, nhentai, downloader

readme

nhentai-pdf

NPM package to be used for getting the holy numbers in pdf 🌚 Welcome to the Darkness

Methods Availables:

validate:

it checks if the doujin exists.
returns boolean

fetch:

it fetches the doujin information.
returns a promise

save:

it sends the buffer as a pdf.
returns a promise

Usage:

const { Doujin } = require('../dist')
const doujin = new Doujin('https://nhentai.net/g/366327/')
doujin.validate().then(console.log)
doujin.fetch().then(console.log)
doujin.save().then(console.log)