{"_id":"for-each","_rev":"3745030","name":"for-each","description":"A better forEach","dist-tags":{"latest":"0.3.5"},"maintainers":[{"name":"ljharb","email":""},{"name":"raynos","email":""}],"time":{"modified":"2025-02-13T06:28:22.000Z","created":"2012-09-29T06:32:22.249Z","0.3.5":"2025-02-11T06:56:03.350Z","0.3.4":"2025-01-24T17:14:36.252Z","0.3.3":"2018-06-02T05:30:56.680Z","0.3.2":"2014-01-07T21:27:50.214Z","0.3.1":"2014-01-07T03:25:23.023Z","0.1.0":"2012-09-29T06:32:22.249Z"},"users":{"jamescostian":true,"ljharb":true,"mwyatt":true,"nichoth":true,"shekharreddy":true,"mojaray2k":true},"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Raynos/for-each.git"},"versions":{"0.3.5":{"name":"for-each","version":"0.3.5","description":"A better forEach","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Raynos/for-each.git"},"funding":{"url":"https://github.com/sponsors/ljharb"},"main":"index","homepage":"https://github.com/Raynos/for-each","contributors":[{"name":"Jake Verbaten"},{"name":"Jordan Harband","url":"https://github.com/ljharb"}],"bugs":{"url":"https://github.com/Raynos/for-each/issues","email":"raynos2@gmail.com"},"license":"MIT","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc tape 'test/*.js'","posttest":"npx npm@\">= 10.2\" audit --production","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"dependencies":{"is-callable":"^1.2.7"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.3","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.3","@types/is-callable":"^1.1.2","@types/tape":"^5.8.1","auto-changelog":"^2.5.0","eslint":"=8.8.0","npmignore":"^0.3.1","nyc":"^10.3.2","tape":"^5.9.0","typescript":"next"},"testling":{"files":"test/test.js"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"for-each@0.3.5","gitHead":"45229651ed893773058ba9ccc42af8999014409f","types":"./index.d.ts","_nodeVersion":"23.7.0","_npmVersion":"10.9.2","dist":{"shasum":"d650688027826920feeb0af747ee7b9421a41d47","size":8133,"noattachment":false,"key":"/for-each/-/for-each-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/for-each/download/for-each-0.3.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""},{"name":"raynos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/for-each_0.3.5_1739256963100_0.8107141981935997"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-11T06:56:03.350Z","publish_time":1739256963350,"_source_registry_name":"default","_cnpm_publish_time":1739256963350},"0.3.4":{"name":"for-each","version":"0.3.4","description":"A better forEach","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Raynos/for-each.git"},"funding":{"url":"https://github.com/sponsors/ljharb"},"main":"index","homepage":"https://github.com/Raynos/for-each","contributors":[{"name":"Jake Verbaten"},{"name":"Jordan Harband","url":"https://github.com/ljharb"}],"bugs":{"url":"https://github.com/Raynos/for-each/issues","email":"raynos2@gmail.com"},"license":"MIT","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc tape 'test/*.js'","posttest":"npx npm@\">= 10.2\" audit --production","lint":"eslint --ext=js,mjs .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"dependencies":{"is-callable":"^1.2.7"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","eslint":"=8.8.0","npmignore":"^0.3.1","nyc":"^10.3.2","tape":"^5.9.0"},"testling":{"files":"test/test.js"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"for-each@0.3.4","gitHead":"71fd9c1ae8422b94d492ba4014630b167e3e9b7c","_nodeVersion":"23.6.1","_npmVersion":"10.9.2","dist":{"shasum":"814517ffc303d1399b2564d8165318e735d0341c","size":7408,"noattachment":false,"key":"/for-each/-/for-each-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/for-each/download/for-each-0.3.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""},{"name":"raynos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/for-each_0.3.4_1737738876071_0.9435316664496038"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-24T17:14:36.252Z","publish_time":1737738876252,"_source_registry_name":"default","_cnpm_publish_time":1737738876252},"0.3.3":{"name":"for-each","version":"0.3.3","description":"A better forEach","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/for-each.git"},"main":"index","homepage":"https://github.com/Raynos/for-each","contributors":[{"name":"Jake Verbaten"},{"name":"Jordan Harband","url":"https://github.com/ljharb"}],"bugs":{"url":"https://github.com/Raynos/for-each/issues","email":"raynos2@gmail.com"},"dependencies":{"is-callable":"^1.1.3"},"devDependencies":{"@ljharb/eslint-config":"^12.2.1","eslint":"^4.19.1","nsp":"^3.2.1","tape":"^4.9.0"},"license":"MIT","licenses":[{"type":"MIT","url":"http://github.com/Raynos/for-each/raw/master/LICENSE"}],"scripts":{"pretest":"npm run lint","test":"npm run tests-only","tests-only":"node test/test","posttest":"npm run security","lint":"eslint *.js test/*.js","security":"nsp check"},"testling":{"files":"test/test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"gitHead":"7adaf8162a12d55f6ea3fb0bf5e999035dfd303a","_id":"for-each@0.3.3","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"69b447e88a0a5d32c3e7084f3f1710034b21376e","size":4151,"noattachment":false,"key":"/for-each/-/for-each-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/for-each/download/for-each-0.3.3.tgz"},"maintainers":[{"name":"ljharb","email":""},{"name":"raynos","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/for-each_0.3.3_1527917456605_0.15636549848965142"},"_hasShrinkwrap":false,"publish_time":1527917456680,"_cnpm_publish_time":1527917456680},"0.3.2":{"name":"for-each","version":"0.3.2","description":"A better forEach","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/for-each.git"},"main":"index","homepage":"https://github.com/Raynos/for-each","contributors":[{"name":"Jake Verbaten"},{"name":"Jordan Harband","url":"https://github.com/ljharb"}],"bugs":{"url":"https://github.com/Raynos/for-each/issues","email":"raynos2@gmail.com"},"dependencies":{"is-function":"~1.0.0"},"devDependencies":{"tape":"~1.1.0"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/for-each/raw/master/LICENSE"}],"scripts":{"test":"node test/test.js"},"testling":{"files":"test/test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"readmeFilename":"README.md","_id":"for-each@0.3.2","dist":{"shasum":"2c40450b9348e97f281322593ba96704b9abd4d4","size":3142,"noattachment":false,"key":"/for-each/-/for-each-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/for-each/download/for-each-0.3.2.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"ljharb","email":""},{"name":"raynos","email":""}],"directories":{},"publish_time":1389130070214,"_cnpm_publish_time":1389130070214,"_hasShrinkwrap":false},"0.3.1":{"name":"for-each","version":"0.3.1","description":"A better forEach","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/for-each.git"},"main":"index","homepage":"https://github.com/Raynos/for-each","contributors":[{"name":"Jake Verbaten"},{"name":"Jordan Harband","url":"https://github.com/ljharb"}],"bugs":{"url":"https://github.com/Raynos/for-each/issues","email":"raynos2@gmail.com"},"dependencies":{},"devDependencies":{"tape":"~1.1.0"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/for-each/raw/master/LICENSE"}],"scripts":{"test":"node test/test.js"},"testling":{"files":"test/test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"readmeFilename":"README.md","_id":"for-each@0.3.1","dist":{"shasum":"d24a631395e844c226261e3b30206ef956e1b53f","size":3124,"noattachment":false,"key":"/for-each/-/for-each-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/for-each/download/for-each-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"ljharb","email":""},{"name":"raynos","email":""}],"directories":{},"publish_time":1389065123023,"_cnpm_publish_time":1389065123023,"_hasShrinkwrap":false},"0.1.0":{"name":"for-each","version":"0.1.0","description":"A better forEach","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/for-each.git"},"main":"index","homepage":"https://github.com/Raynos/for-each","contributors":[{"name":"Jake Verbaten"}],"bugs":{"url":"https://github.com/Raynos/for-each/issues","email":"raynos2@gmail.com"},"dependencies":{},"devDependencies":{"tap":"~0.3.1"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/for-each/raw/master/LICENSE"}],"scripts":{"test":"tap --stderr --tap ./test"},"_id":"for-each@0.1.0","dist":{"shasum":"e64d083dfe1ecb48d030b7db2e9eb33f7b02fb45","size":1867,"noattachment":false,"key":"/for-each/-/for-each-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/for-each/download/for-each-0.1.0.tgz"},"_npmVersion":"1.1.49","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"ljharb","email":""},{"name":"raynos","email":""}],"directories":{},"publish_time":1348900342249,"_cnpm_publish_time":1348900342249,"_hasShrinkwrap":false}},"readme":"# for-each [![build status][1]][2]\n\n[![browser support][3]][4]\n\nA better forEach.\n\n## Example\n\nLike `Array.prototype.forEach` but works on objects.\n\n```js\nvar forEach = require(\"for-each\")\n\nforEach({ key: \"value\" }, function (value, key, object) {\n    /* code */\n})\n```\n\nAs a bonus, it's also a perfectly function shim/polyfill for arrays too!\n\n```js\nvar forEach = require(\"for-each\")\n\nforEach([1, 2, 3], function (value, index, array) {\n    /* code */\n})\n```\n\n## Installation\n\n`npm install for-each`\n\n## MIT Licenced\n\n  [1]: https://secure.travis-ci.org/Raynos/for-each.png\n  [2]: http://travis-ci.org/Raynos/for-each\n  [3]: https://ci.testling.com/Raynos/for-each.png\n  [4]: https://ci.testling.com/Raynos/for-each\n\n","_attachments":{},"homepage":"https://github.com/Raynos/for-each","bugs":{"url":"https://github.com/Raynos/for-each/issues","email":"raynos2@gmail.com"},"license":"MIT"}