UNPKG

@mistweaverco/cli-html

Version:

Convert HTML to CLI output with TypeScript support

7 lines (6 loc) 467 B
import { HTMLNode } from '../types'; export declare const filterAst: (ast: HTMLNode) => Partial<HTMLNode>; export declare const filterAst2: (ast: HTMLNode) => Partial<HTMLNode>; export declare const indentify: (indent: string, skipFirst: boolean) => (text: string) => string; export declare const getAttribute: (tag: HTMLNode, attributeName: string, defaultValue: string) => string; export declare const getColorFromClass: (classAttribute?: string) => string | null;