Function convertLegacyId

  • Converts old (pre v5, numeric ids) Mangadex ids to v5 ids. Any invalid legacy ids will be skipped by Mangadex when remapping, so call this function for each individual id if this is an issue.

    Parameters

    • type: "group" | "chapter" | "manga" | "tag"
    • ids: number[]

    Returns Promise<Record<number, string>>

Generated using TypeDoc