The npm package 'flat' experienced fluctuating downloads between March 2024 and September 2025. Downloads generally increased, peaking in June 2025 at over 100 million. However, September 2025 shows a significant drop, but this is likely due to incomplete monthly data, as today is September 12.
Flatten and unflatten JavaScript objects. This small utility simplifies the process of converting deeply nested objects into a single-level structure, and vice-versa. Useful for simplifying complex data structures for storage or manipulation, and then restoring them to their original format. Lightweight and easy to integrate into existing projects, flat offers a simple solution for managing nested data. Supports custom delimiters for complex key structures.
The flat npm package saw frequent releases in its early years (2012-2016), with occasional updates afterward. Releases became less frequent after 2017. A notable period of updates occurred in 2020, including backports to older versions. The most recent releases were in September 2023 with versions 6.0.0 and 6.0.1. As of September 12, 2025, there have been no releases in 2024 or 2025.