UNPKG

@aliceplex/core

Version:

[![License][license_badge]][license] [![Pipelines][pipelines_badge]][pipelines] [![Coverage][coverage_badge]][pipelines] [![NPM][npm_badge]][npm] [![semantic-release][semantic_release_badge]][semantic_release]

11 lines (10 loc) 430 B
/// <reference types="cheerio" /> import { ScrapFunction } from "../type"; import { Options as WikiOptions } from "./utils"; export declare type Options = { tag: string; tagOffset?: number; expect?: Map<number[], string[]>; selector?: (options: Options, dom: CheerioStatic) => CheerioElement; } & Omit<WikiOptions, "tableOffset">; export declare const createSmartWikiScrapper: (options: Options) => ScrapFunction;