{"name":"filter-values","description":"Filter an object values using glob patterns or with a `callback` function returns true. ","version":"0.4.0","homepage":"https://github.com/jonschlinkert/filter-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/filter-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/filter-values/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"for-own":"^0.1.3","is-match":"^0.4.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["filter","find","glob","globbing","globs","key","keys","match","matcher","minimatch","obj","object","pattern","patterns","properties","property","props","regex","sort","test","wildcard"],"verb":{"related":{"list":["filter-object","filter-values","micromatch","rename-keys","sort-object"]}},"gitHead":"dd55adea135a29a7e8543b95d8f2de719ab94e1e","_id":"filter-values@0.4.0","_shasum":"f1b618dad908d0dd9906d27ca81620300ebf7a09","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f1b618dad908d0dd9906d27ca81620300ebf7a09","tarball":"http://registry-npm.ywwl.com/filter-values/download/filter-values-0.4.0.tgz","integrity":"sha512-r0JqwnFO4wafb/n3b0e/Jk2c/FWv8YFNHbM0wzqyQv3fxFWY8sZKnqmI2V5CT+2g7KpPlKRSoRsZvWnCstRmRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClgXFINQ9sChQYXQOf8ZTgQj09oGUl90UOtGGQ1eZ3aQIgFKDTzt/SjsUGW+uVfCyhjNaAM+vF9BM2T5aDtfuTWwA="}],"size":2357,"noattachment":false,"key":"/filter-values/-/filter-values-0.4.0.tgz"},"directories":{},"readme":"# filter-values [![NPM version](https://img.shields.io/npm/v/filter-values.svg?style=flat)](https://www.npmjs.com/package/filter-values) [![NPM monthly downloads](https://img.shields.io/npm/dm/filter-values.svg?style=flat)](https://npmjs.org/package/filter-values)  [![NPM total downloads](https://img.shields.io/npm/dt/filter-values.svg?style=flat)](https://npmjs.org/package/filter-values) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/filter-values.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/filter-values)\n\n> Filter an object values using glob patterns or with a `callback` function returns true.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save filter-values\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add filter-values\n```\n\n## Usage\n\n```js\nvar filter = require('filter-values');\n\nfilter({a: 'a', b: 'b', c: 'c'}, function(value, key, obj) {\n  return key !== 'b';\n});\n//=> {a: 'a', c: 'c'}\n\nfilter({a: 'a', b: 'b', c: 'c'}, function(value, key, obj) {\n  return key === 'b';\n});\n//=> {b: 'b'}\n\nfilter({a: 'a', b: 'b', c: 'c'}, function(value, key, obj) {\n  return value === 'b';\n});\n//=> {b: 'b'}\n\nfilter({a: 'a', b: 'bbd', c: 'bca2'}, ['b*', '!bc*'])\n//=> {b: 'bbd'}\n\nfilter({a: 'a', b: 'bbd', c: 'bca2'}, '!b*')\n//=> {a: 'a'}\n```\n\n## About\n\n### Related projects\n\n* [filter-object](https://www.npmjs.com/package/filter-object): Filter an object by its keys or values. Returns a copy of an object filtered… [more](https://github.com/jonschlinkert/filter-object) | [homepage](https://github.com/jonschlinkert/filter-object \"Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.\")\n* [filter-values](https://www.npmjs.com/package/filter-values): Filter an object values using glob patterns or with a `callback` function returns true.  | [homepage](https://github.com/jonschlinkert/filter-values \"Filter an object values using glob patterns or with a `callback` function returns true. \")\n* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/jonschlinkert/micromatch \"Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.\")\n* [rename-keys](https://www.npmjs.com/package/rename-keys): Modify the names of the own enumerable properties (keys) of an object. | [homepage](https://github.com/jonschlinkert/rename-keys \"Modify the names of the own enumerable properties (keys) of an object.\")\n* [sort-object](https://www.npmjs.com/package/sort-object): Sort the keys in an object. | [homepage](https://github.com/doowb/sort-object \"Sort the keys in an 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### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 13 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 5  | [tunnckoCore](https://github.com/tunnckoCore) |  \n| 3  | [someone235](https://github.com/someone235) |  \n| 1  | [doowb](https://github.com/doowb) |  \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.6.0, on May 11, 2017._","publish_time":1441691707516,"_cnpm_publish_time":1441691707516,"dist-tags":{"latest":"0.4.1"}}