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.
17 lines (16 loc) • 449 B
TypeScript
import { SelectFormat, SelectQueryOp, SelectType } from "../public/index.js";
import { JQueryResult } from "./JQuery.js";
export interface ResolveQueryOpsParams {
ops: SelectQueryOp[];
nodes: JQueryResult;
value: unknown;
type?: SelectType;
repeated: boolean;
all: boolean;
limit?: number | null;
format?: SelectFormat;
pattern?: string;
distinct?: boolean;
negate?: boolean;
removeNulls?: boolean;
}