npm · npm:flatten
flatten deprecated
Flatten arbitrarily nested arrays into a non-nested list of non-array items. Maintained for legacy compatibility.
The latest stable version of flatten is 1.0.3, published on 2019-10-31. Verified by Vigia on 2026-11-12.
| Latest stable version | 1.0.3 |
|---|---|
| Published | 2019-10-31 02:43:51 UTC |
| Install | npm install flatten@latest |
| Deprecation | flatten is deprecated in favor of utility frameworks such as lodash. |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 1.0.3 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:08:13 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2019-10-31 02:43:51 UTC · 2569 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 6 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.0.3 withdrawn | 2019-10-31 02:43:51 UTC |
1.0.2 withdrawn | 2016-01-20 01:00:17 UTC |
1.0.1 withdrawn | 2016-01-20 00:56:04 UTC |
1.0.0 withdrawn | 2016-01-20 00:45:01 UTC |
0.0.1 withdrawn | 2012-06-28 02:40:18 UTC |
0.0.0 withdrawn | 2012-06-28 02:21:27 UTC |
Showing the 6 most recent of 6 versions. JSON
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 flatten?
The latest stable version of flatten is 1.0.3, published on 2019-10-31. Verified by Vigia on 2026-11-12.
How do I install the latest version of flatten?
Run npm install flatten@latest. The latest stable version is 1.0.3 (verified 2026-11-12).
Is flatten deprecated?
Yes. The registry marks flatten as deprecated. Message from the maintainers: "flatten is deprecated in favor of utility frameworks such as lodash."
Which Node.js version does flatten require?
flatten 1.0.3 does not declare a Node.js version requirement.
Does flatten 1.0.3 have known vulnerabilities?
No known advisories affect flatten 1.0.3 according to the data Vigia checks.
Is flatten still maintained?
flatten published 0 stable releases in the last 12 months; the most recent was 2569 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @fortawesome/fontawesome-svg-core
- is-observable
- timsort
- babel-messages
- prosemirror-history
- underscore.string
- @globalart/nestjs-logger
- splaytree
- nunjucks
- @react-types/textfield
- @react-email/row
- now-and-later
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/flatten) [](https://vigia.coredls.cloud/npm/flatten) [](https://vigia.coredls.cloud/npm/flatten)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/flatten
GET https://vigia.coredls.cloud/v1/packages/npm/flatten/versions/{version}