@hanivanrizky/nestjs-html-parser
Version:
⚠️ ARCHIVED - This package is no longer maintained. Please migrate to @hanivanrizky/nestjs-xpath-parser (https://github.com/Hanivan/nestjs-xpath-parser)
19 lines (18 loc) • 411 B
TypeScript
export interface HtmlFetchResponse {
/**
* HTML content of the fetched page
*/
data: string;
/**
* HTTP response headers as key-value pairs
*/
headers: Record<string, string>;
/**
* HTTP status code (e.g., 200, 404, 500)
*/
status: number;
/**
* HTTP status text (e.g., 'OK', 'Not Found', 'Internal Server Error')
*/
statusText: string;
}