{"name":"foreach","description":"foreach component + npm package","version":"2.0.5","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"contributors":[{"name":"Manuel Stofer"},{"name":"Jordan Harband","url":"https://github.com/ljharb"}],"license":"MIT","main":"index.js","scripts":{"test":"node test.js","coverage":"covert test.js","coverage-quiet":"covert --quiet test.js"},"repository":{"type":"git","url":"git://github.com/manuelstofer/foreach"},"keywords":["shim","Array.prototype.forEach","forEach","Array#forEach","each"],"dependencies":{},"devDependencies":{"tape":"*","covert":"*"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0","firefox/15.0..latest","firefox/nightly","chrome/4.0","chrome/22.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/5.0.5..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"bugs":{"url":"https://github.com/manuelstofer/foreach/issues"},"homepage":"https://github.com/manuelstofer/foreach","_id":"foreach@2.0.5","_shasum":"0bee005018aeb260d0a3af3ae658dd0136ec1b99","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"manuelstofer","email":"manuel@takimata.ch"}],"dist":{"shasum":"0bee005018aeb260d0a3af3ae658dd0136ec1b99","tarball":"http://registry-npm.ywwl.com/foreach/download/foreach-2.0.5.tgz","integrity":"sha512-ZBbtRiapkZYLsqoPyZOR+uPfto0GRMNQN1GwzZtZt7iZvPPbDDQV0JF5Hx4o/QFQ5c0vyuoZ98T8RSBbopzWtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbM2/b59Wew6Lx7NzqEqx0pr+jWzVaG2wK9SaaMVK02gIhALGrAEigaNde4bbTt0mYUZEqLnaLYKFahIm4+EZObNt6"}],"size":2874,"noattachment":false,"key":"/foreach/-/foreach-2.0.5.tgz"},"directories":{},"readme":"\n# foreach\n\n[![CDNJS](https://img.shields.io/cdnjs/v/foreach.svg)](https://cdnjs.com/libraries/foreach)\n\nIterate over the key value pairs of either an array-like object or a dictionary like object.\n\n[![browser support][1]][2]\n\n## API\n\n### foreach(object, function, [context])\n\n```js\nvar each = require('foreach');\n\neach([1,2,3], function (value, key, array) {\n    // value === 1, 2, 3\n    // key === 0, 1, 2\n    // array === [1, 2, 3]\n});\n\neach({0:1,1:2,2:3}, function (value, key, object) {\n    // value === 1, 2, 3\n    // key === 0, 1, 2\n    // object === {0:1,1:2,2:3}\n});\n```\n\n[1]: https://ci.testling.com/manuelstofer/foreach.png\n[2]: https://ci.testling.com/manuelstofer/foreach\n\n","publish_time":1411367398002,"_cnpm_publish_time":1411367398002,"dist-tags":{"latest":"2.0.6"}}