{"_id":"has-any","_rev":"80652","name":"has-any","description":"Returns true if an object has any of the specified keys.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:25:47.000Z","created":"2014-09-20T22:39:41.062Z","0.1.2":"2016-03-21T08:43:55.441Z","0.1.1":"2015-03-25T02:09:41.008Z","0.1.0":"2014-09-20T22:39:41.062Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/has-any.git"},"versions":{"0.1.2":{"name":"has-any","description":"Returns true if an object has any of the specified keys.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/has-any","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/has-any.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-any/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^2.0.0"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5"},"keywords":["find","has","hasOwn","key","keys","object","properties","property","value"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["object.omit","object.pick","omit-empty","has-any-deep","has-prop","has-value"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"a2bf1ce070679f073446bb1c95e7f60d3bc636e1","_id":"has-any@0.1.2","_shasum":"a377d6555ff0f574ea7850d78dd023d91f574c20","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a377d6555ff0f574ea7850d78dd023d91f574c20","size":2557,"noattachment":false,"key":"/has-any/-/has-any-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/has-any/download/has-any-0.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/has-any-0.1.2.tgz_1458549832990_0.6288788570091128"},"directories":{},"publish_time":1458549835441,"_cnpm_publish_time":1458549835441,"_hasShrinkwrap":false},"0.1.1":{"name":"has-any","description":"Returns true if an object has any of the specified keys.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/has-any","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/has-any.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-any/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/has-any/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"^5.2.0"},"keywords":["find","has","hasOwn","key","keys","object","properties","property","value"],"gitHead":"3236a1933c4f61dc413e3a55a813695213a717ff","_id":"has-any@0.1.1","_shasum":"4f034913465a00b0c62b51ba6ef9bd7adad20bf5","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4f034913465a00b0c62b51ba6ef9bd7adad20bf5","size":1885,"noattachment":false,"key":"/has-any/-/has-any-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/has-any/download/has-any-0.1.1.tgz"},"directories":{},"publish_time":1427249381008,"_cnpm_publish_time":1427249381008,"_hasShrinkwrap":false},"0.1.0":{"name":"has-any","description":"Returns true if the specified object has any of the given keys.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/has-any","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/has-any.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-any/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/has-any/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"},"keywords":["find","has","hasOwn","javascript","js","key","keys","node.js","object","properties","property","util","utilities","utility","value"],"_id":"has-any@0.1.0","_shasum":"a91ec986665b89247ed585f73b7794400546f1c1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a91ec986665b89247ed585f73b7794400546f1c1","size":2845,"noattachment":false,"key":"/has-any/-/has-any-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/has-any/download/has-any-0.1.0.tgz"},"directories":{},"publish_time":1411252781062,"_cnpm_publish_time":1411252781062,"_hasShrinkwrap":false}},"readme":"# has-any [![NPM version](https://img.shields.io/npm/v/has-any.svg)](https://www.npmjs.com/package/has-any) [![Build Status](https://img.shields.io/travis/jonschlinkert/has-any.svg)](https://travis-ci.org/jonschlinkert/has-any)\n\n> Returns true if an object has any of the specified keys.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install has-any --save\n```\n\n## Usage\n\n```js\nvar hasAny = require('has-any');\n\nhasAny({a: 'b', c: 'd'}}, 'c');\n//=> true\n\nhasAny({a: {b: {c: 'c'}}, foo: 'bar'}, ['foo', 'quux']);\n//=> true\n```\n\n## Related projects\n\n* [has-any-deep](https://www.npmjs.com/package/has-any-deep): Return true if `key` exists deeply on the given object.  | [homepage](https://github.com/jonschlinkert/has-any-deep)\n* [has-prop](https://www.npmjs.com/package/has-prop): Return true if an object has the given key. Dot-notation may be used to check… [more](https://www.npmjs.com/package/has-prop) | [homepage](https://github.com/jonschlinkert/has-prop)\n* [has-value](https://www.npmjs.com/package/has-value): Returns true if a value exists, false if empty. Works with deeply nested values using… [more](https://www.npmjs.com/package/has-value) | [homepage](https://github.com/jonschlinkert/has-value)\n* [object.omit](https://www.npmjs.com/package/object.omit): Return a copy of an object excluding the given key, or array of keys. Also… [more](https://www.npmjs.com/package/object.omit) | [homepage](https://github.com/jonschlinkert/object.omit)\n* [object.pick](https://www.npmjs.com/package/object.pick): Returns a filtered copy of an object with only the specified keys, similar to `  _.pick`… [more](https://www.npmjs.com/package/object.pick) | [homepage](https://github.com/jonschlinkert/object.pick)\n* [omit-empty](https://www.npmjs.com/package/omit-empty): Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero. | [homepage](https://github.com/jonschlinkert/omit-empty)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/has-any/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb && npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\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 © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the [MIT license](https://github.com/jonschlinkert/has-any/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on March 21, 2016._","_attachments":{},"homepage":"https://github.com/jonschlinkert/has-any","bugs":{"url":"https://github.com/jonschlinkert/has-any/issues"},"license":"MIT"}