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.

4 lines (3 loc) 239 B
export declare function trim(text: string, pattern?: string | RegExp): string; export declare function ltrim(text: string, pattern?: string | RegExp): string; export declare function rtrim(text: string, pattern?: string | RegExp): string;