1.0.5 • Published 2 years ago

@shineiichijo/nhentai-pdf v1.0.5

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
2 years ago

nhentai-pdf

I don't own this project. This is just a fork of 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('@shineiichijo/nhentai-pdf')
const doujin = new Doujin('https://nhentai.net/g/366327/')
doujin.validate().then(console.log)
doujin.fetch().then(console.log)
doujin.save().then(console.log)