{"_id":"filter-functions","_rev":"86429","name":"filter-functions","description":"Filter an array to have only function values, or an object to have only properties with function values.","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:28:03.000Z","created":"2015-05-30T01:33:35.684Z","0.1.0":"2015-05-30T01:33:35.684Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/filter-functions.git"},"versions":{"0.1.0":{"name":"filter-functions","description":"Filter an array to have only function values, or an object to have only properties with function values.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/filter-functions","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/filter-functions.git"},"bugs":{"url":"https://github.com/jonschlinkert/filter-functions/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/filter-functions/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"gitHead":"396ac7459cc720eaf3ec1f98c140350f79def78c","_id":"filter-functions@0.1.0","_shasum":"075455e65bc9839d1e885e0486d905633bed3ad6","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"075455e65bc9839d1e885e0486d905633bed3ad6","size":2081,"noattachment":false,"key":"/filter-functions/-/filter-functions-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/filter-functions/download/filter-functions-0.1.0.tgz"},"directories":{},"publish_time":1432949615684,"_cnpm_publish_time":1432949615684,"_hasShrinkwrap":false}},"readme":"# filter-functions [![NPM version](https://badge.fury.io/js/filter-functions.svg)](http://badge.fury.io/js/filter-functions)\n\n> Filter an array to have only function values, or an object to have only properties with function values.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i filter-functions --save\n```\n\n## Usage\n\n```js\nvar functions = require('filter-functions');\n\nvar a = function(){};\nvar c = function(){};\nvar e = function(){};\n\nvar obj = {a: a, b: 'b', c: c, d: 'd', e: e};\nfunctions(obj);\n//=> {a: a, c: c, e: e});\n\nfunctions([a, 'b', c, 'd', e]);\n//=> [a, c, e]\n```\n\n## Related projects\n\n* [filter-keys](https://github.com/jonschlinkert/filter-keys): Filter the keys of an object using glob patterns.\n* [filter-object](https://github.com/jonschlinkert/filter-object): Return a copy of an object, filtered to have only keys that match the given… [more](https://github.com/jonschlinkert/filter-object)\n* [filter-values](https://github.com/jonschlinkert/filter-values): Filter an object values using glob patterns or with a `callback` function returns true.\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/filter-functions/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 29, 2015._\n","_attachments":{},"homepage":"https://github.com/jonschlinkert/filter-functions","bugs":{"url":"https://github.com/jonschlinkert/filter-functions/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/filter-functions/blob/master/LICENSE"}}