# flat (npm)

Take a nested Javascript object and flatten it, or unflatten an object with delimited keys

- Latest: 6.0.1 (2023-09-19)
- Licence: BSD-3-Clause
- Downloads: 155696941 last month
- Advisories on the latest version: 0

- CVE-2020-36632 CRITICAL: flat vulnerable to Prototype Pollution Fixed in 3.0.1, 4.0.2, 5.0.1.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
