{"name":"arr-filter","description":"Faster alternative to javascript's native filter method.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/arr-filter","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/arr-filter.git"},"bugs":{"url":"https://github.com/jonschlinkert/arr-filter/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/arr-filter/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"docs":"update && license && npmignore && deps && verb","all":"npm run docs"},"dependencies":{"make-iterator":"^0.1.0"},"devDependencies":{"array-filter":"^0.2.0","benchmarked":"^0.1.3","chalk":"^0.5.1","micromatch":"^1.0.1","minimist":"^1.1.0","mocha":"*","should":"*"},"keywords":["array","filter","collection","util"],"gitHead":"2db0751983585b831d1519b8a6a146f15e21d127","_id":"arr-filter@1.0.1","_shasum":"890e1df12be1a98625a7bfbefe2bcde3c89739a9","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"890e1df12be1a98625a7bfbefe2bcde3c89739a9","tarball":"http://registry-npm.ywwl.com/arr-filter/download/arr-filter-1.0.1.tgz","integrity":"sha512-uIqqAEbCSFycJ1X1Z/3OrfIl2r1g8f+etC9b/mThwFESApzSx/lEXTUy7nYtlw+dcCgUPneeZy1J/TUub3LudQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqFAvmxTgj55nk4dg+wayErI1qjOlvXE/XaixhAh3DdAiEAxJkbhmwPpHgMleVGJ0UmeXAhg0wvTSPDwxbWmkkC9A4="}],"size":36802,"noattachment":false,"key":"/arr-filter/-/arr-filter-1.0.1.tgz"},"directories":{},"readme":"# arr-filter [![NPM version](https://img.shields.io/npm/v/arr-filter.svg?style=flat)](https://www.npmjs.com/package/arr-filter) [![NPM monthly downloads](https://img.shields.io/npm/dm/arr-filter.svg?style=flat)](https://npmjs.org/package/arr-filter)  [![NPM total downloads](https://img.shields.io/npm/dt/arr-filter.svg?style=flat)](https://npmjs.org/package/arr-filter) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/arr-filter.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/arr-filter)\n\n> Faster alternative to javascript's native filter method.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save arr-filter\n```\n\n## Usage\n\n```js\nvar filter = require('arr-filter');\n\nfilter(['a', {a: 'b'}, 1, 'b', 2, {c: 'd'}, 'c'], function (ele) {\n  return typeof ele === 'string';\n});\n//=> ['a', 'b', 'c']\n```\n\n## Why another array filter?\n\n[array-filter](https://github.com/juliangruber/array-filter) is pretty popular, but it's tuned to be used in older browsers and it falls back on native `.filter()` when available, which is much slower. See [jsperf results](http://jsperf.com/array-filter-while-vs-for/2). The functions used in the benchmarks are the top performers from a dozen or so other functions.\n\n## About\n\n### Related projects\n\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* [array-each](https://www.npmjs.com/package/array-each): Loop over each item in an array and call the given function on every element. | [homepage](https://github.com/jonschlinkert/array-each \"Loop over each item in an array and call the given function on every element.\")\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":1421130241667,"_cnpm_publish_time":1421130241667,"dist-tags":{"latest":"1.1.2"}}