xobuilder-extractor
Version:
> **A sophisticated web application that converts HTML and CSS to JSON layout through an intelligent multi-step flow process with AI validation.**
8 lines (7 loc) • 363 B
TypeScript
/**
* Flattens a deeply nested object structure to a single-level object
* while preserving the original keys
* @param obj The nested object to flatten
* @returns A flattened object where all nested keys are at the top level
*/
export declare const flattenObject: (obj: Record<string, any>, values: Record<string, string | string[]>) => Record<string, any>;