defuddle
Version:
Extract article content and metadata from web pages.
7 lines (6 loc) • 420 B
TypeScript
export declare function isElement(node: Node): node is Element;
export declare function isTextNode(node: Node): node is Text;
export declare function isCommentNode(node: Node): node is Comment;
export declare function getComputedStyle(element: Element): CSSStyleDeclaration | null;
export declare function getWindow(doc: Document): Window | null;
export declare function logDebug(message: string, ...args: any[]): void;