A type-enforced, beautify and performance concern middleware written in Nestjs for NHentai API.
Think of this repo as a community project, some might rather wanted to change NHentai API to have a better structure? I don't know, but the idea is you can self-host and cache it, even add a compression is easy when it's on your server.
Written with 2 important endpoint
fetch("https://nhapi.now.sh/177013")
.then(res => res.json())
.then(data => console.log(data))
By default NhAPI cached response with 24 hours ranged based on first-request or exceed cache limit. So in practice it would be very fast to response.
A lot of thing work under the cover. Combining piece of each part which should be parsed. I'd recommended checking out in each .dto.ts file.
$ yarn
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov