{"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"keywords":["arr","array","collection","filter","util"],"dist-tags":{"latest":"1.1.2"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Faster alternative to javascript's native filter method.","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._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/arr-filter.git"},"users":{"rocket0191":true},"bugs":{"url":"https://github.com/jonschlinkert/arr-filter/issues"},"license":"MIT","versions":{"0.1.0":{"name":"arr-filter","description":"Faster alternative to javascript's native filter method and [array-filter](https://github.com/juliangruber/array-filter).","version":"0.1.0","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"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/arr-filter/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["arr","array","filter","javascript","method","util","utility","utils"],"dependencies":{"make-iterator":"^0.1.0"},"_id":"arr-filter@0.1.0","_shasum":"180064e4baf29ff892a3c45750f841730b9cf290","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"180064e4baf29ff892a3c45750f841730b9cf290","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/arr-filter/-/arr-filter-0.1.0.tgz","integrity":"sha512-ELX0Yeby6NyoQFqaPqTpYhWA3vP1GmSi3SF7pmBrqbRDIYrFajwXHgqKm/txCzOWx3o7kR8TQo69UkE3AVGJYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTC0lE/2mw1qyxnKbk7t5wuM8wQkwRqmcrYsOaWnWrqAIhAJQAHbB8R9CYRvnIkGWW+ISRbXanqmukv5Dn65xDRdQ6"}]}},"1.0.0":{"name":"arr-filter","description":"Faster alternative to javascript's native filter method.","version":"1.0.0","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.0","_shasum":"b3f214cb24073f75e6654df0e737a0162f05884c","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"b3f214cb24073f75e6654df0e737a0162f05884c","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/arr-filter/-/arr-filter-1.0.0.tgz","integrity":"sha512-avbmTerY2Urf7E1d91Fyoqsh04DbaXNiXXmn0V/Clc4NHj8meeu/jaBM48K89Tv+KutzMi60wyLUJRPHtEwpYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID93kEYw0p4f5MyBDftU+VuuiuW15HyLzJSaTHZUwXnBAiA+jYOkNAyS9CBRlO057Wolt3XkSkGQOU9OKbI5cY6ROQ=="}]}},"1.0.1":{"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":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"890e1df12be1a98625a7bfbefe2bcde3c89739a9","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/arr-filter/-/arr-filter-1.0.1.tgz","integrity":"sha512-uIqqAEbCSFycJ1X1Z/3OrfIl2r1g8f+etC9b/mThwFESApzSx/lEXTUy7nYtlw+dcCgUPneeZy1J/TUub3LudQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqFAvmxTgj55nk4dg+wayErI1qjOlvXE/XaixhAh3DdAiEAxJkbhmwPpHgMleVGJ0UmeXAhg0wvTSPDwxbWmkkC9A4="}]}},"1.0.2":{"name":"arr-filter","description":"Faster alternative to javascript's native filter method.","version":"1.0.2","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":"8851cc03ce1892dab7a96fad962a5a2b5c039ab8","_id":"arr-filter@1.0.2","_shasum":"4447b78f7e5cd7ba5e50d457f7361bccaa13af52","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"4447b78f7e5cd7ba5e50d457f7361bccaa13af52","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/arr-filter/-/arr-filter-1.0.2.tgz","integrity":"sha512-Ko9ZIekiBmkHS0o8GUQnWEIAJ9di2lucUI2NnHiXFyyBm88xKkKol2e18/A7T3hijLU70BLz5q8gbJ88Y34fHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX2owZBnAI845RmPGPen6t1C+3Qdt3OhCZ1MZpgORAYAIgYpGMd2YHnxsjLgRjmoUUapgnNsAx4AJlliH4EvBd3yU="}]}},"1.1.0":{"name":"arr-filter","description":"Faster alternative to javascript's native filter method.","version":"1.1.0","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"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"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":"f7923d9d9d6a40c3ef2f01a8023a3f5916566879","_id":"arr-filter@1.1.0","_shasum":"3fc841ac31213c0d9814eb8b29a02f31a72c44db","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"3fc841ac31213c0d9814eb8b29a02f31a72c44db","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/arr-filter/-/arr-filter-1.1.0.tgz","integrity":"sha512-v3QDOrPSmZ9pX4p/SslvVI6b4CLNszPZNDCvX0DMy/Rq/zyubeESws9tE49MkCwOI7qPGVMu6C6QQ/5z13QE8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkoKZF07ENlXGHjtDvUYK0xXbob+TCa04HnF+NaA2u4wIgfiydge6GhYR9QYuv/TiMUyFLoNkXI2zZ4SqhtMgLxXI="}]}},"1.1.1":{"name":"arr-filter","description":"Faster alternative to javascript's native filter method.","version":"1.1.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":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"make-iterator":"^0.2.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":"0e079d85f76d076d9f1194fab2df9cf1e78c19d1","_id":"arr-filter@1.1.1","_shasum":"5aabe343f7bf21ddb2c54e7befafff4406aacc49","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"5aabe343f7bf21ddb2c54e7befafff4406aacc49","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/arr-filter/-/arr-filter-1.1.1.tgz","integrity":"sha512-6SlI0SCRdP4V4jioLBl9+aU+M1Hea8DOV4xVfl6T/ICzWmcZxX6aUHOJoMNY4l3IK9FHXqLI5aIJqZmM3QDjPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpa6fIbR8ffraJK9TX3HS/vOgdB1f44T3f0mamiDF87AiA1J7x6gwZ2KejobI4uzOiVIK8qVFK4510iIlJb6wRCFA=="}]}},"1.1.2":{"name":"arr-filter","description":"Faster alternative to javascript's native filter method.","version":"1.1.2","homepage":"https://github.com/jonschlinkert/arr-filter","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/arr-filter.git"},"bugs":{"url":"https://github.com/jonschlinkert/arr-filter/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"make-iterator":"^1.0.0"},"devDependencies":{"array-filter":"^1.0.0","benchmarked":"^0.2.5","chalk":"^1.1.3","gulp-format-md":"^0.1.11","micromatch":"^2.3.11","minimist":"^1.2.0","mocha":"^3.2.0"},"keywords":["arr","array","collection","filter","util"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["collection-map","arr-map","array-each"]},"lint":{"reflinks":true}},"gitHead":"5c18625e680aff172e40bd8eda2522346a4660fb","_id":"arr-filter@1.1.2","_shasum":"43fdddd091e8ef11aa4c45d9cdc18e2dff1711ee","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"43fdddd091e8ef11aa4c45d9cdc18e2dff1711ee","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/arr-filter/-/arr-filter-1.1.2.tgz","integrity":"sha512-A2BETWCqhsecSvCkWAeVBFLH6sXEUGASuzkpjL3GR1SlL/PWL6M3J8EAAld2Uubmh39tvkJTqC9LeLHCUKmFXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsQhYmlZmiB72geI+iorA+C1MtR8w7mHFJKZrSLridyAiEAjZC3Wb8nduWIi6ZMbZJZEoGlevezz0oHTXjngVl9FUI="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/arr-filter-1.1.2.tgz_1488155870284_0.990470303921029"}}},"name":"arr-filter","time":{"modified":"2022-06-13T03:27:48.250Z","created":"2014-10-01T23:39:43.912Z","0.1.0":"2014-10-01T23:39:43.912Z","1.0.0":"2015-01-04T14:55:18.683Z","1.0.1":"2015-01-13T06:24:01.667Z","1.0.2":"2015-01-13T06:45:32.859Z","1.1.0":"2015-02-17T16:58:15.810Z","1.1.1":"2015-08-01T05:44:43.991Z","1.1.2":"2017-02-27T00:37:50.851Z"},"readmeFilename":"README.md","homepage":"https://github.com/jonschlinkert/arr-filter"}