npm package
Homeforeach
The foreach package allows iteration over key-value pairs of array-like or dictionary-like objects. It is useful for executing a function on each element in a collection, making it easier to handle data structures in JavaScript applications.
- lurq health score
- 37/100
- Confidence
- unproven
- Weekly downloads
- 4,142,676
- Latest version
- 2.0.6
- Last release
- May 11, 2022
- License
- MIT
Should you depend on foreach?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks foreach at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading foreach
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.3.3 → 2.0.6being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 17, 2026; this page refreshes every 168 hours. Source repository.