UNPKG

syphonx-core

Version:

SyphonX is a template-driven solution for extracting data from HTML in a highly efficient way. It combines the power of jQuery, Regular Expressions, and Javascript into a declarative template-driven format that extracts and reshapes HTML data into JSON.

12 lines (11 loc) 376 B
import { ExtractState, Select } from "./public/index.js"; import { Template } from "../template.js"; export interface SelectOptions { url?: string; vars?: Record<string, unknown>; debug?: boolean; context?: string; root?: unknown; unwrap?: boolean; } export declare function select(selects: Select[] | Template, options?: SelectOptions): ExtractState;