{"name":"filter-values","description":"Filter an object to have only the `own` properties for which a `callback` function returns true. ","version":"0.1.0","homepage":"https://github.com/jonschlinkert/filter-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/filter-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/filter-values/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/filter-values/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"dependencies":{"for-own":"^0.1.2","make-iterator":"^0.1.1"},"gitHead":"0aac111ced6dfffd3036bef6cccf3d61f7fb6e5b","_id":"filter-values@0.1.0","_shasum":"da92fd8b07eb7b73aa41c4156eb66f8e07cac511","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"da92fd8b07eb7b73aa41c4156eb66f8e07cac511","tarball":"http://registry-npm.ywwl.com/filter-values/download/filter-values-0.1.0.tgz","integrity":"sha512-RIYRbh+Nre2f7g94AeG3IVjhV1W4dEpym/XryrHwZZKkLCFsPgMoCUe6Xb4bTwGJPbaM1GsFQNLZ8UqqBGR59A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEoE8ZXQpVAZh27t08hlrHRxvT02jFQWr6/69ybcu0GsAiBcttZnBdYrYRhOXfkj7uNwJz4xTGHp5KN6ngBcTINtkQ=="}],"size":1827,"noattachment":false,"key":"/filter-values/-/filter-values-0.1.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":1421715347469,"_cnpm_publish_time":1421715347469,"dist-tags":{"latest":"0.4.1"}}