UNPKG

@ynetlabo/htmlanalyzer

Version:

a tool for the npm package to easily analysis a html document.

30 lines (29 loc) 690 B
import { HTMLElement } from "node-html-parser"; /** * AnalyzedDoc * @export * @class AnalyzedDoc */ export declare class AnalyzedDoc { /** * url * @type {string} * @memberof Member */ targetUrl: string; statusCode: number; siteData: any; parsedHtml?: HTMLElement; selectedElements?: Array<HTMLElement>; documentDate?: Date; constructor(targetUrl: string); } export declare class PostDoc { date?: Date; title: string; description: string; constructor(title: string, description: string, date: Date); } export declare class ArticleDoc extends PostDoc { constructor(title: string, description: string, date: Date); }