{"_id":"any","_rev":"83508","name":"any","description":"Returns `true` if a value exists in the given string, array or object.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:26:34.000Z","created":"2014-10-08T15:31:34.512Z","1.0.0":"2015-02-27T01:31:29.807Z","0.1.2":"2014-11-04T13:08:32.165Z","0.1.0":"2014-10-08T15:31:34.512Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/any.git"},"versions":{"1.0.0":{"name":"any","description":"Returns `true` if a value exists in the given string, array or object.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/any","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/any.git"},"bugs":{"url":"https://github.com/jonschlinkert/any/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/any/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"for-own":"^0.1.2","make-iterator":"^0.1.0"},"devDependencies":{"mocha":"*","should":"^5.0.1"},"keywords":["array","check","contains","detect","find","has","has-own","hasown","is","is-object","isobject","key","keys","lookup","object","own","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"gitHead":"efe1036842e538304fc617f7bbad4e3d0daaa086","_id":"any@1.0.0","_shasum":"0a7b348c589faf6ba708d4a2241069ea51628b5e","_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":"0a7b348c589faf6ba708d4a2241069ea51628b5e","size":2174,"noattachment":false,"key":"/any/-/any-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/any/download/any-1.0.0.tgz"},"directories":{},"publish_time":1425000689807,"_cnpm_publish_time":1425000689807,"_hasShrinkwrap":false},"0.1.2":{"name":"any","description":"Returns `true` if a value exists in the given string, array or object, or if a callback is passed checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string. The function returns as soon as it finds a pas","version":"0.1.2","homepage":"https://github.com/jonschlinkert/any","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/any.git"},"bugs":{"url":"https://github.com/jonschlinkert/any/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/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","verb-tag-jscomments":"^0.2.2"},"keywords":["arr","array","check","contains","detect","dot","find","for","for-own","forown","function","has","has-own","hasown","is","is-object","isobject","iterate","iterator","javascript","js","key","keys","lookup","node","node-js","notation","object","of","own","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"dependencies":{"for-own":"^0.1.2","make-iterator":"^0.1.0"},"_id":"any@0.1.2","_shasum":"cd0371844923d232cd1741cea1bd44c3a7cd0003","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cd0371844923d232cd1741cea1bd44c3a7cd0003","size":4270,"noattachment":false,"key":"/any/-/any-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/any/download/any-0.1.2.tgz"},"directories":{},"publish_time":1415106512165,"_cnpm_publish_time":1415106512165,"_hasShrinkwrap":false},"0.1.0":{"name":"any","description":"Checks if the callback returns a truthy value for any element in a collection, or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection. ","version":"0.1.0","homepage":"https://github.com/jonschlinkert/any","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/any.git"},"bugs":{"url":"https://github.com/jonschlinkert/any/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/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","verb-tag-jscomments":">= 0.2.0"},"keywords":["arr","array","check","contains","detect","dot","find","for","for-own","forown","function","has","has-own","hasown","is","is-object","isobject","iterate","iterator","javascript","js","key","keys","lookup","node","node-js","notation","object","of","own","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"dependencies":{"for-own":"^0.1.2","make-iterator":"^0.1.0"},"_id":"any@0.1.0","_shasum":"464e682911553414dd4b3fb8c36743d05c048658","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"464e682911553414dd4b3fb8c36743d05c048658","size":4133,"noattachment":false,"key":"/any/-/any-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/any/download/any-0.1.0.tgz"},"directories":{},"publish_time":1412782294512,"_cnpm_publish_time":1412782294512,"_hasShrinkwrap":false}},"readme":"# any [![NPM version](https://badge.fury.io/js/any.svg)](http://badge.fury.io/js/any)  [![Build Status](https://travis-ci.org/jonschlinkert/any.svg)](https://travis-ci.org/jonschlinkert/any) \n\n> Returns `true` if a value exists in the given string, array or object.\n\n- if a callback is passed, checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string.\n- returns as soon as it finds a passing value and does not iterate over the entire collection.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i any --save\n```\n\n\n## Usage\n\n```js\nvar any = require('any');\n```\n\n```js\nany('a-b-c', 'a');\n//=> true\n\nany('a-b-c', 'd');\n//=> false\n\nany({a: 'b', c: 'd'}, 'a');\n//=> true\n\nany([{a: 'b', c: 'd'}], {a: 'b'});\n//=> true\n\nany('a-b-c', 'd');\n//=> false\n```\n\n## Running tests\nInstall dev dependencies.\n\n```bash\nnpm i -d && npm test\n```\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\nCopyright (c) 2015 Jon Schlinkert  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb](https://github.com/assemble/verb) on February 26, 2015._\n","_attachments":{},"homepage":"https://github.com/jonschlinkert/any","bugs":{"url":"https://github.com/jonschlinkert/any/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/any/blob/master/LICENSE"}}