Function getWorkContent

  • This function takes a work id or cheerio object, parses the data and returns an object containing the forword, afterword and each chapter

    Parameters

    • input: number | CheerioAPI

      a work id or a cheerio object of the first chapter

    Returns Promise<WorkContent>

    an object of tyoe WorkContent containing the forword, afterword and each chapter

Generated using TypeDoc