Hierarchy

  • Pages

Constructors

Properties

Methods

Constructors

  • Parameters

    • pages: string[]

      An array of URLS of the doujin pages

    • __title: string

    Returns Pages

Properties

pages: string[]

Methods

  • Builds a PDF from the doujin pages

    Returns

    Buffer of the PDF

    Returns Promise<Buffer>

  • Builds a PDF from the doujin pages

    Returns

    The filename where the PDF is saved

    Parameters

    • filename: string

      Filename of the PDF

    Returns Promise<string>

  • Downloads the pages of a doujin and saves all of it in a folder

    Parameters

    • folderName: string

      The name of the folder in which all of the pages should be saved

    Returns Promise<void>

  • Builds a zip of doujin pages

    Returns

    Buffer of the result zip

    Returns Promise<Buffer>

  • Builds a zip of doujin pages and saves it locally

    Returns

    The filename of the saved zip

    Parameters

    • filename: string

      Filename of the zip where it should be saved

    Returns Promise<string>

Generated using TypeDoc