{"name":"foreach","description":"Underscore's each function packed as a component","version":"1.3.3","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","_id":"foreach@1.3.3","dist":{"shasum":"e62a2e940fc9e4aef2e15e8a3e5490e1acbcdf2b","tarball":"http://registry-npm.ywwl.com/foreach/download/foreach-1.3.3.tgz","integrity":"sha512-yk5TYScHXlHKkShjIQyETlTQGzwYp8P4hItV7IYQPPa0NEHXXDB7GWei4pqqTs+R5D+uB8QxjmG3nvtstD3z1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAYBDiGU7QNLBwnJemsoxiPHK9hLMuhsgTvDQv0Ij7iAAiAVFe8fuY0CHLV+c20pt3l7VyEC4V0Ekdj8C8PwrS25Xg=="}],"size":4469,"noattachment":false,"key":"/foreach/-/foreach-1.3.3.tgz"},"_from":".","_npmVersion":"1.2.10","_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":1363891200553,"_cnpm_publish_time":1363891200553,"dist-tags":{"latest":"2.0.6"}}