concat-map is a small Node.js module that creates a new array by calling a function on each element (and its index) and concatenating the results. It is useful when you want to map an array where each callback invocation can return an array (which gets flattened into the output) or a single value (which gets appended).
Project status
- The repository shows only a small number of tagged
updates: v0.0.2 in 2022-10-12, after earlier v0.0.1 (2014-01-30) and v0.0.0 (2012-06-08). While there was an upstream push on 2025-12-30, there is no evidence of new published versionedupdatessince 2022. - Apparent update cadence is very infrequent, with multi-year gaps between versioned
updates(about 8 years from v0.0.1 to v0.0.2, then about 3+ years from v0.0.2 to the present). This suggests the project is largely maintenance or quiescent rather than steadily evolving.
AI summary generated 2026-06-09
Recent updates
v0.0.2
2022-10-12Version v0.0.2 contains a small runtime change in index.js, plus a large set of repository, tooling, and CI workflow updates. The public API shape (the exported concatMap function and its argument count) appears unchanged, but the added strict mode can subtly affect callback behavior.
v0.0.1
2014-01-30Release v0.0.1 adds a small runtime compatibility change to the exported concat-map function (array detection), updates package metadata, and switches the project’s test tooling from tap to tape. No release notes were provided for this version, so the code, build, and contributor workflow changes below are not documented.
Featuresv0.0.0
2012-06-08This release (v0.0.0) has no release notes provided by the publisher, so there is no documented information about features, fixes, or compatibility changes. As a result, developers should treat this upgrade as opaque and verify behavior, APIs, and configuration against the codebase or changelog diffs.