{"_id":"arr-map","_rev":"16681","name":"arr-map","description":"Faster, node.js focused alternative to JavaScript's native array map.","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"jonschlinkert","email":""}],"time":{"modified":"2023-09-20T22:04:06.000Z","created":"2015-01-30T23:34:03.239Z","2.0.2":"2017-02-28T16:11:28.363Z","2.0.1":"2017-02-27T00:45:43.853Z","2.0.0":"2015-03-25T03:28:33.938Z","1.0.0":"2015-01-30T23:34:03.239Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/arr-map.git"},"versions":{"2.0.2":{"name":"arr-map","description":"Faster, node.js focused alternative to JavaScript's native array map.","version":"2.0.2","homepage":"https://github.com/jonschlinkert/arr-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/arr-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/arr-map/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmark":"node benchmark"},"dependencies":{"make-iterator":"^1.0.0"},"devDependencies":{"array-map":"^0.0.0","benchmarked":"^0.2.5","braces":"^2.0.3","chalk":"^1.1.3","glob":"^7.1.1","gulp-format-md":"^0.1.11","micromatch":"^2.3.11","mocha":"^3.2.0"},"keywords":["arr","array","map"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"related":{"list":["arr-diff","arr-filter","arr-flatten","arr-reduce"]},"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"bdf5f05f9401c2b54a066d2748de27df0eac072c","_id":"arr-map@2.0.2","_shasum":"3a77345ffc1cf35e2a91825601f9e58f2e24cac4","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"3a77345ffc1cf35e2a91825601f9e58f2e24cac4","size":2761,"noattachment":false,"key":"/arr-map/-/arr-map-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/arr-map/download/arr-map-2.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/arr-map-2.0.2.tgz_1488298287767_0.5825249401386827"},"directories":{},"publish_time":1488298288363,"_cnpm_publish_time":1488298288363,"_hasShrinkwrap":false},"2.0.1":{"name":"arr-map","description":"Faster, node.js focused alternative to JavaScript's native array map.","version":"2.0.1","homepage":"https://github.com/jonschlinkert/arr-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/arr-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/arr-map/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmark":"node benchmark"},"dependencies":{"make-iterator":"^1.0.0"},"devDependencies":{"array-map":"^0.0.0","benchmarked":"^0.2.5","braces":"^2.0.3","chalk":"^1.1.3","glob":"^7.1.1","gulp-format-md":"^0.1.11","micromatch":"^2.3.11"},"keywords":["arr","array","map"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"related":{"list":["arr-diff","arr-filter","arr-flatten","arr-reduce"]},"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"2f74421e50fc7462274b829afc0039d25ab0f47c","_id":"arr-map@2.0.1","_shasum":"020ebae98572c46abc47afe61dcc027d123d24d7","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"020ebae98572c46abc47afe61dcc027d123d24d7","size":2748,"noattachment":false,"key":"/arr-map/-/arr-map-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/arr-map/download/arr-map-2.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/arr-map-2.0.1.tgz_1488156342160_0.22000497090630233"},"directories":{},"publish_time":1488156343853,"_cnpm_publish_time":1488156343853,"_hasShrinkwrap":false},"2.0.0":{"name":"arr-map","description":"Faster, node.js focused alternative to JavaScript's native array map.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/arr-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/arr-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/arr-map/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/arr-map/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","benchmark":"node benchmark"},"dependencies":{"make-iterator":"^0.1.1"},"devDependencies":{"array-map":"0.0.0","benchmarked":"^0.1.3","braces":"^1.6.0","chalk":"^0.5.1","glob":"^4.3.5","micromatch":"^1.2.2","mocha":"*"},"keywords":["array","map"],"gitHead":"e4842820d9e9085d0451b7ad9f5a66725b3f101c","_id":"arr-map@2.0.0","_shasum":"d381f593c67035687908042b0ee98d0c05bf1d4f","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"d381f593c67035687908042b0ee98d0c05bf1d4f","size":2457,"noattachment":false,"key":"/arr-map/-/arr-map-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/arr-map/download/arr-map-2.0.0.tgz"},"directories":{},"publish_time":1427254113938,"_cnpm_publish_time":1427254113938,"_hasShrinkwrap":false},"1.0.0":{"name":"arr-map","description":"Faster, node.js focused alternative to JavaScript's native array map.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/arr-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/arr-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/arr-map/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/arr-map/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"files":["index.js"],"scripts":{"test":"mocha -R spec","benchmark":"node benchmark"},"devDependencies":{"array-map":"0.0.0","benchmarked":"^0.1.3","braces":"^1.6.0","chalk":"^0.5.1","glob":"^4.3.5","micromatch":"^1.2.2","mocha":"*","should":"*"},"keywords":["array","map"],"gitHead":"e4842820d9e9085d0451b7ad9f5a66725b3f101c","_id":"arr-map@1.0.0","_shasum":"2452e6d7d033fbebea9c656481fc29954fae7c65","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"2452e6d7d033fbebea9c656481fc29954fae7c65","size":1489,"noattachment":false,"key":"/arr-map/-/arr-map-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/arr-map/download/arr-map-1.0.0.tgz"},"directories":{},"publish_time":1422660843239,"_cnpm_publish_time":1422660843239,"_hasShrinkwrap":false}},"readme":"# arr-map [![NPM version](https://img.shields.io/npm/v/arr-map.svg?style=flat)](https://www.npmjs.com/package/arr-map) [![NPM monthly downloads](https://img.shields.io/npm/dm/arr-map.svg?style=flat)](https://npmjs.org/package/arr-map)  [![NPM total downloads](https://img.shields.io/npm/dt/arr-map.svg?style=flat)](https://npmjs.org/package/arr-map) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/arr-map.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/arr-map)\n\n> Faster, node.js focused alternative to JavaScript's native array map.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save arr-map\n```\n\n## Why use this?\n\nJavaScript's native `Array.map()` is slow, and other popular array map libraries are focused on browser compatibility, which makes them bloated or less than idea for non-browser usage. This implementation is focused on node.js usage keeping it light and fast.\n\n## Usage\n\n```js\nvar map = require('arr-map');\n\nmap(['a', 'b', 'c'], function(ele) {\n  return ele + ele;\n});\n//=> ['aa', 'bb', 'cc']\n\nmap(['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-diff](https://www.npmjs.com/package/arr-diff): Returns an array with only the unique values from the first array, by excluding all… [more](https://github.com/jonschlinkert/arr-diff) | [homepage](https://github.com/jonschlinkert/arr-diff \"Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.\")\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-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten \"Recursively flatten an array or arrays. This is the fastest implementation of array flatten.\")\n* [arr-reduce](https://www.npmjs.com/package/arr-reduce): Fast array reduce that also loops over sparse elements. | [homepage](https://github.com/jonschlinkert/arr-reduce \"Fast array reduce that also loops over sparse elements.\")\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 28, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/arr-map","bugs":{"url":"https://github.com/jonschlinkert/arr-map/issues"},"license":"MIT"}