UNPKG

@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)

48 lines (47 loc) 1.31 kB
declare class ParseAsUrlPipe { type: string; baseUrl?: string; transform(url: string): string; } declare class RegexReplacePipe { type: string; baseUrl?: string; regex: string; textReplacement: string; flag: string; transform(val: string): string; } declare class RegexExtractionPipe { type: string; baseUrl?: string; regex: string; flag: string; transform(val: string): string; } declare class QueryRemoverPipe { type: string; baseUrl?: string; removed: string[]; transform(url: string): string; } declare class NumNormalizePipe { type: string; baseUrl?: string; transform(numString: string): number; } declare class DateFormatPipe { type: string; baseUrl?: string; locale: string; format: string; timezone: string; transform(dateString: string): number; } declare class ThreadIdExtractorPipe { type: string; baseUrl?: string; transform(url: string): string; } declare const mappingTransform: (rawPipes: any[], withItsPayload?: any) => any[]; declare function scrapeBmwSgForum(verbose?: boolean): Promise<void>; export { DateFormatPipe, mappingTransform, NumNormalizePipe, ParseAsUrlPipe, QueryRemoverPipe, RegexExtractionPipe, RegexReplacePipe, scrapeBmwSgForum, ThreadIdExtractorPipe, };