{"name":"foreach","description":"foreach component + npm package","version":"2.0.3","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/manuelstofer/foreach"},"keywords":["shim","Array.prototype.forEach","forEach","Array#forEach","each"],"dependencies":{},"devDependencies":{"tape":"*"},"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"]},"_id":"foreach@2.0.3","dist":{"shasum":"3085ef139c560594b4c78d7cafd53710d9536e03","tarball":"http://registry-npm.ywwl.com/foreach/download/foreach-2.0.3.tgz","integrity":"sha512-pNgRNXmpr7jZhj+kvDs0qqnPRg/YO9gTzQPk4fzJlY0SR757+4WlFSSwtXvJO/PvkmD+4FU5fJRDrhd7RymTTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfVivA7wQey4imN9ahVWd011hdPoY5VyA7i2v2jjApeAIgLJsMOUhotq68X9C3vJTeAD88b84Py6mcqFchqFSEG3s="}],"size":6620,"noattachment":false,"key":"/foreach/-/foreach-2.0.3.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"manuelstofer","email":"manuel@takimata.ch"}],"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":1365943471702,"_cnpm_publish_time":1365943471702,"dist-tags":{"latest":"2.0.6"}}