UNPKG

sec-edgar-parser

Version:

A tool for scraping SEC edgar archive documents found at https://www.sec.gov/Archives/edgar/data

16 lines (15 loc) 695 B
export declare function toCamelCase(str: string): string; /** * Parses the SEC header string to extract relevant information. * @param {string} text - The SEC header string to parse. * @returns {Promise<object>} - A promise that resolves to the parsed SEC header object. * @private */ export declare function parseYamlLikeString(text: string): any; export declare function badXmlToObj(xmlString: string): any; export declare function trimDocument(file: string): { yamlLikeStructure: string; xmlLikeStructure: string; }; export declare function getObjectFromUrl(url: string, userAgent?: string): Promise<any>; export declare function getObjectFromString(text: string): Promise<any>;