{"_id":"@f/foreach","_rev":"334386","name":"@f/foreach","description":"Fast for each.","dist-tags":{"latest":"1.2.2"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"time":{"modified":"2021-06-08T13:13:32.000Z","created":"2015-12-16T07:42:22.133Z","1.2.2":"2016-01-07T19:47:58.249Z","1.2.1":"2015-12-16T15:56:44.936Z","1.2.0":"2015-12-16T07:42:22.133Z"},"users":{},"repository":{"type":"git","url":"git://github.com/micro-js/foreach.git"},"versions":{"1.2.2":{"name":"@f/foreach","description":"Fast for each.","repository":{"type":"git","url":"git://github.com/micro-js/foreach.git"},"version":"1.2.2","license":"MIT","main":"lib/index.js","scripts":{"postversion":"git push && git push --tags && npm publish --access=public"},"dependencies":{"@f/foreach-array":"^1.0.0","@f/foreach-obj":"^1.0.1","@f/is-array":"^1.1.1","@f/is-object":"^1.1.1"},"devDependencies":{"tape":"^4.2.2","standard":"^5.4.1"},"gitHead":"b6ee6f015920e56cb0944060d7e64bdd3a3acb54","bugs":{"url":"https://github.com/micro-js/foreach/issues"},"homepage":"https://github.com/micro-js/foreach","_id":"@f/foreach@1.2.2","_shasum":"2dd0aca6c5fe74fa965b0f46640f7623930434cd","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"f","email":"registration@weo.io"},"dist":{"shasum":"2dd0aca6c5fe74fa965b0f46640f7623930434cd","size":1473,"noattachment":false,"key":"/@f/foreach/-/@f/foreach-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@f/foreach/download/@f/foreach-1.2.2.tgz"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"directories":{},"publish_time":1452196078249,"_cnpm_publish_time":1452196078249,"_hasShrinkwrap":false},"1.2.1":{"name":"@f/foreach","description":"Fast for each.","repository":{"type":"git","url":"git://github.com/micro-js/foreach.git"},"version":"1.2.1","license":"MIT","main":"lib/index.js","scripts":{"postversion":"git push && git push --tags && npm publish --access=public"},"dependencies":{},"devDependencies":{"tape":"^4.2.2","standard":"^5.4.1"},"gitHead":"6dd78429698aae055d7c44939f5a70caa6892826","bugs":{"url":"https://github.com/micro-js/foreach/issues"},"homepage":"https://github.com/micro-js/foreach#readme","_id":"@f/foreach@1.2.1","_shasum":"927bf140466bfce43037f9fba748b30e427b648f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"f","email":"registration@weo.io"},"dist":{"shasum":"927bf140466bfce43037f9fba748b30e427b648f","size":1410,"noattachment":false,"key":"/@f/foreach/-/@f/foreach-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@f/foreach/download/@f/foreach-1.2.1.tgz"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"directories":{},"publish_time":1450281404936,"_cnpm_publish_time":1450281404936,"_hasShrinkwrap":false},"1.2.0":{"name":"@f/foreach","description":"Fast for each.","repository":{"type":"git","url":"git://github.com/micro-js/foreach.git"},"version":"1.2.0","license":"MIT","main":"lib/index.js","scripts":{"postversion":"git push && git push --tags && npm publish --access=public"},"dependencies":{},"devDependencies":{"tape":"^4.2.2","standard":"^5.4.1"},"gitHead":"07b1f26b22fac1d94f1268bd8efdfdac8bed6787","bugs":{"url":"https://github.com/micro-js/foreach/issues"},"homepage":"https://github.com/micro-js/foreach#readme","_id":"@f/foreach@1.2.0","_shasum":"f4bd47b60ed5af82303e8b4edae214abef389722","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"f","email":"registration@weo.io"},"dist":{"shasum":"f4bd47b60ed5af82303e8b4edae214abef389722","size":1409,"noattachment":false,"key":"/@f/foreach/-/@f/foreach-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@f/foreach/download/@f/foreach-1.2.0.tgz"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"directories":{},"publish_time":1450251742133,"_cnpm_publish_time":1450251742133,"_hasShrinkwrap":false}},"readme":"\n# foreach\n\n[![Build status][travis-image]][travis-url]\n[![Git tag][git-image]][git-url]\n[![NPM version][npm-image]][npm-url]\n[![Code style][standard-image]][standard-url]\n\nFast for each.\n\n## Installation\n\n    $ npm install @f/foreach\n\n## Usage\n\n```js\nvar foreach = require('@f/foreach')\n\nvar obj = {a: 1, b: 2}\nvar copy = {}\n\nforeach(function (val, key) {\n  copy[key] = val\n})\n\ncopy // => {a: 1, b: 2}\n\n```\n\n## API\n\n### foreach(fn, obj)\n\n- `fn` - iterator\n- `obj` - object to iterate over\n\n## License\n\nMIT\n\n[travis-image]: https://img.shields.io/travis/micro-js/foreach.svg?style=flat-square\n[travis-url]: https://travis-ci.org/micro-js/foreach\n[git-image]: https://img.shields.io/github/tag/micro-js/foreach.svg\n[git-url]: https://github.com/micro-js/foreach\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat\n[standard-url]: https://github.com/feross/standard\n[npm-image]: https://img.shields.io/npm/v/@f/foreach.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@f/foreach\n","_attachments":{},"homepage":"https://github.com/micro-js/foreach","bugs":{"url":"https://github.com/micro-js/foreach/issues"},"license":"MIT"}