{"name":"array-each","description":"Loop over each item in an array and call the given function on every element.","version":"0.1.0","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":[],"_id":"array-each@0.1.0","_shasum":"fe2c274138ca0e571e51481bbab1bd7f8f16ec78","_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":"fe2c274138ca0e571e51481bbab1bd7f8f16ec78","tarball":"http://registry-npm.ywwl.com/array-each/download/array-each-0.1.0.tgz","integrity":"sha512-3jlOJm3i3PSE/+nHlAZY+ycD0qkLc090kSD2xpNGVl1aka87e2SF6la8SRx3toaqC3PDM5f82SA7EZzAfotYUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsI+B/aCGVe/60/hZmMH7lJmLpIS/m+dN/ABmyUnFa7AIgcx4v9V09Q6HeGGIHMSQUKnIBX3O+jWq2aq95/j5OMw4="}],"size":2401,"noattachment":false,"key":"/array-each/-/array-each-0.1.0.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":1429441035865,"_cnpm_publish_time":1429441035865,"dist-tags":{"latest":"1.0.1"}}