Mangadex api wrapper for Node.js
Notable changes from API V4:
Mangadex.converLegacyId
method.const client = new Mangadex()
and then call client.auth.login(username, password)
method to login, instead of client.agent
.
See examples in readme.Still WIP, but you can start switching to this version!
name
property from PartialManga
type as it was deprecated at the start of February.Agent.callApi
calling on the old endpoint, now it's using the default one if it's not overridden by the user.src/lib/options
.deepmerge
utility setting properties on the original target, instead of a copied one.This release contains bugfixes that caused incorrect search result parsing for views and follows. #28
Updated MD-API schema, mainCover
field is now available on UserManga
type, FollowedPartialManga
type was removed since it has the same type structure as UserManga
.
Added deprecation notice for PartialManga.name option, NSFW search example for docs.
Bug Fixes:
Restructure readme, added some examples and notes about mangadex-heroku, add engines property in package.json.
TSConfig target was updated to ES2018 which results in reduced packages size. (Well, 99.8kb -> 95.7kb is better than nothing) Also the minimum supported Node.js version now is 12.