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.
13 lines (12 loc) • 343 B
TypeScript
import { JQueryResult } from "./JQuery.js";
export type SelectContextAction = "each" | "pivot" | "subselect" | "union";
export interface SelectContext {
name?: string;
nodes?: JQueryResult;
value?: unknown;
index?: number;
pivot?: number;
union?: number;
action?: SelectContextAction;
parent?: SelectContext;
}