:steam_locomotive: Flatten/unflatten nested Javascript objects
Browse cluster: JavaScript Standard Style Linting →Flat is a JavaScript utility that converts nested objects into flat, single-level structures and reverses the process. The library provides `flatten()` and `unflatten()` methods to transform objects with delimited keys (using a customizable delimiter, defaulting to a period), and supports options for handling arrays, setting maximum nesting depth, and transforming keys. Built as an npm package for JavaScript environments, flat is available both as a library for import into projects and as a command-line tool that can process JSON files or stdin.