linkinator
Version:
Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.
15 lines (14 loc) • 534 B
text/typescript
export declare var SaxesParser: SaxesParserConstructor;
export type SaxesTag = {
local: string;
};
export type SaxesParserInstance = {
on(event: 'cdata' | 'text', handler: (text: string) => void): void;
on(event: 'closetag' | 'opentag', handler: (tag: SaxesTag) => void): void;
on(event: 'error', handler: (error: Error) => void): void;
write(chunk: string): SaxesParserInstance;
close(): SaxesParserInstance;
};
export type SaxesParserConstructor = new (options: {
xmlns: true;
}) => SaxesParserInstance;