{"name":"array-each","description":"Loop over each item in an array and call the given function on every element.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/array-each","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/array-each.git"},"bugs":{"url":"https://github.com/jonschlinkert/array-each/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/array-each/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"gitHead":"3a1a5c20d28b2cf952d5f286934fb31010fed4c8","_id":"array-each@0.1.1","_shasum":"c5d52ba8225f36d728178ba7aec413acfaddd0f9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c5d52ba8225f36d728178ba7aec413acfaddd0f9","tarball":"http://registry-npm.ywwl.com/array-each/download/array-each-0.1.1.tgz","integrity":"sha512-UeLKGl1CO9AS8+y+d+sCoI4PEFcphx0fGlPiOgzlYAmofYov5fpqvqZdTEk11nXV2E6a6WtepT2gEB0RL2fnmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkC0p5/S2C8DLV1IRvN50/OAHfF1cAcU5AMKerqo7z5gIhAMilUOkxPnAzb+SgXpfpzR6VHC3aDhGsXA8XQsauohSq"}],"size":2484,"noattachment":false,"key":"/array-each/-/array-each-0.1.1.tgz"},"directories":{},"readme":"# array-each [![NPM version](https://img.shields.io/npm/v/array-each.svg?style=flat)](https://www.npmjs.com/package/array-each) [![NPM monthly downloads](https://img.shields.io/npm/dm/array-each.svg?style=flat)](https://npmjs.org/package/array-each)  [![NPM total downloads](https://img.shields.io/npm/dt/array-each.svg?style=flat)](https://npmjs.org/package/array-each) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/array-each.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/array-each)\n\n> Loop over each item in an array and call the given function on every element.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save array-each\n```\n\n## Usage\n\n### [each](index.js#L34)\n\nLoop over each item in an array and call the given function on every element.\n\n**Params**\n\n* `array` **{Array}**\n* `fn` **{Function}**\n* `thisArg` **{Object}**: (optional) pass a `thisArg` to be used as the context in which to call the function.\n* `returns` **{undefined}**\n\n**Example**\n\n```js\neach(['a', 'b', 'c'], function(ele) {\n  return ele + ele;\n});\n//=> ['aa', 'bb', 'cc']\n\neach(['a', 'b', 'c'], function(ele, i) {\n  return i + ele;\n});\n//=> ['0a', '1b', '2c']\n```\n\n## About\n\n### Related projects\n\n* [arr-filter](https://www.npmjs.com/package/arr-filter): Faster alternative to javascript's native filter method. | [homepage](https://github.com/jonschlinkert/arr-filter \"Faster alternative to javascript's native filter method.\")\n* [arr-map](https://www.npmjs.com/package/arr-map): Faster, node.js focused alternative to JavaScript's native array map. | [homepage](https://github.com/jonschlinkert/arr-map \"Faster, node.js focused alternative to JavaScript's native array map.\")\n* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map \"Returns an array of mapped values from an array or object.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 26, 2017._","publish_time":1430248148671,"_cnpm_publish_time":1430248148671,"dist-tags":{"latest":"1.0.1"}}