UNPKG

@tiktikimelbo7/extensions

Version:

Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.

17 lines (16 loc) 518 B
import { BaseParser } from '.'; declare abstract class LightNovelParser extends BaseParser { /** * takes light novel link or id * * returns lightNovel info (including chapters) */ protected abstract fetchLightNovelInfo(lightNovelUrl: string, ...args: any): Promise<unknown>; /** * takes chapter id * * returns chapter content (text) */ protected abstract fetchChapterContent(chapterId: string, ...args: any): Promise<unknown>; } export default LightNovelParser;