npm · npm:flat
flat active
Take a nested Javascript object and flatten it, or unflatten an object with delimited keys
The latest stable version of flat is 6.0.1, published on 2023-09-19. Verified by Vigia on 2026-11-12.
| Latest stable version | 6.0.1 |
|---|---|
| Published | 2023-09-19 14:47:19 UTC |
| Install | npm install flat@latest |
| Requires (engines) | {"node":">=18"} |
| Peer dependencies | — |
| Dist-tags | latest: 6.0.1 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:20:09 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2023-09-19 14:47:19 UTC · 1150 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 28 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
6.0.1 | 2023-09-19 14:47:19 UTC |
6.0.0 | 2023-09-15 09:22:00 UTC |
3.0.1 | 2020-10-14 15:24:03 UTC |
2.0.2 | 2020-10-14 15:23:47 UTC |
1.6.2 | 2020-10-14 15:23:32 UTC |
4.1.1 | 2020-10-14 15:19:00 UTC |
5.0.2 | 2020-08-06 15:29:02 UTC |
5.0.1 | 2020-08-06 15:18:07 UTC |
5.0.0 withdrawn | 2019-10-22 05:18:23 UTC |
4.1.0 withdrawn | 2018-07-02 07:53:50 UTC |
4.0.0 withdrawn | 2017-07-25 07:18:19 UTC |
3.0.0 withdrawn | 2017-07-23 06:46:22 UTC |
2.0.1 withdrawn | 2016-06-23 05:14:14 UTC |
2.0.0 withdrawn | 2016-01-30 22:53:58 UTC |
1.6.1 withdrawn | 2016-01-30 22:29:29 UTC |
1.6.0 withdrawn | 2015-05-27 21:39:11 UTC |
1.5.1 withdrawn | 2015-03-19 04:04:22 UTC |
1.5.0 withdrawn | 2015-01-14 03:28:05 UTC |
1.4.0 withdrawn | 2015-01-14 03:22:29 UTC |
1.3.0 withdrawn | 2014-09-28 02:20:15 UTC |
Showing the 20 most recent of 28 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 5.0.2 |
node 18 | 6.0.1 |
node 20 | 6.0.1 |
node 22 | 6.0.1 |
node 24 | 6.0.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of flat?
The latest stable version of flat is 6.0.1, published on 2023-09-19. Verified by Vigia on 2026-11-12.
How do I install the latest version of flat?
Run npm install flat@latest. The latest stable version is 6.0.1 (verified 2026-11-12).
Is flat deprecated?
No. flat is not marked as deprecated in the registry.
Which Node.js version does flat require?
flat 6.0.1 declares this requirement: {"node":">=18"}.
Does flat 6.0.1 have known vulnerabilities?
No known advisories affect flat 6.0.1 according to the data Vigia checks.
Is flat still maintained?
flat published 0 stable releases in the last 12 months; the most recent was 1150 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @octokit/core
- motion-dom
- cacheable-request
- cheerio-select
- @aws-sdk/client-s3
- @unrs/resolver-binding-linux-x64-gnu
- exit
- @aws-sdk/util-locate-window
- rrweb-cssom
- husky
- @babel/plugin-transform-typeof-symbol
- ansis
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/flat) [](https://vigia.coredls.cloud/npm/flat) [](https://vigia.coredls.cloud/npm/flat)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/flat
GET https://vigia.coredls.cloud/v1/packages/npm/flat/versions/{version}