{"_id":"in-array","_rev":"9-fb1a95b7f3c8afcd46166d146aea0765","name":"in-array","description":"Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"in-array","description":"Return true if a value exists in an array. Faster than using indexOf.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/in-array","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/in-array.git"},"bugs":{"url":"https://github.com/jonschlinkert/in-array/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/in-array/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.6","chai":"~1.9.1","mocha":"*"},"_id":"in-array@0.1.0","_shasum":"3f4b7671e5af4a8222ac5c6aab858193ecfa5aa2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3f4b7671e5af4a8222ac5c6aab858193ecfa5aa2","tarball":"https://registry.npmjs.org/in-array/-/in-array-0.1.0.tgz","integrity":"sha512-6tPgTPbRpUWb6PR9wY2NbHhCw40ofL5YxC3aEDB666qAUcWNAvETz9dJ9Zb9AU1xXYmar21An2EED++w3+4qwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfvAZ49p0UNJbWcK6lSL16MwA4oYA869of/e06/WzlwAiEA8y1G4q7voJWCGDM4hOhKUpO/MndyQodl/SDGVq+NVHo="}]}},"0.1.1":{"name":"in-array","description":"Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/in-array","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/in-array.git"},"bugs":{"url":"https://github.com/jonschlinkert/in-array/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"lint":"jshint *.js test/*.js","test":"npm run lint && mocha"},"devDependencies":{"benchmark":"^2.1.0","gulp-format-md":"^0.1.7"},"keywords":["array","check","element","find","index","index-of","of"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"815f77e1d6486869618bcf15a08717be057b8c5d","_id":"in-array@0.1.1","_shasum":"92e05fc296efe3b657af324b33bbbf165302a6c1","_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":"92e05fc296efe3b657af324b33bbbf165302a6c1","tarball":"https://registry.npmjs.org/in-array/-/in-array-0.1.1.tgz","integrity":"sha512-T1StFxKe6plM5tqW8SfpTCkeyE3lUmLnxj/QN0e31IN5/GWkFZUw6gJ1Dkee3HN1NDz+hxMCsvfhpLWuD/EIPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWNeF1VeLkoovyn3VCxGJUWnqRPOuEZd6LlZ3lRx8XtwIgR3co22MNSHUcZXpct04wFyybBjQ/NvjoessyHWvMV7g="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/in-array-0.1.1.tgz_1459089663703_0.662118025822565"}},"0.1.2":{"name":"in-array","description":"Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/in-array","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/in-array.git"},"bugs":{"url":"https://github.com/jonschlinkert/in-array/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"lint":"jshint *.js test/*.js","test":"npm run lint && mocha"},"devDependencies":{"benchmark":"^2.1.0","gulp-format-md":"^0.1.7"},"keywords":["array","check","element","find","index","index-of","of"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["isobject","is-plain-object","arr-flatten","arr-union"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"1b9a79f8770d1244ca22430246eb9a5ea04dbae1","_id":"in-array@0.1.2","_shasum":"1a2683009177ab914ade0620a35c5039851f3715","_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":"1a2683009177ab914ade0620a35c5039851f3715","tarball":"https://registry.npmjs.org/in-array/-/in-array-0.1.2.tgz","integrity":"sha512-JY4uBfaeV/k0DKMNcBpXsQ73FyqF+W+8hooGbM8DRifgftCTcB+WStMGEJocqo6GPqeuu14w1nO+USgT78q3yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8jNQvhQF7F+up9UhuVJzwW6aLQGzLVZobRd3QJRbCbQIgKLcMEmky9EP8nbJJxt7SRvsDuQFZwbkcVUbpqv+cDqc="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/in-array-0.1.2.tgz_1459089868365_0.7690742339473218"}}},"readme":"# in-array [![NPM version](https://img.shields.io/npm/v/in-array.svg?style=flat)](https://www.npmjs.com/package/in-array) [![NPM downloads](https://img.shields.io/npm/dm/in-array.svg?style=flat)](https://npmjs.org/package/in-array) [![Build Status](https://img.shields.io/travis/jonschlinkert/in-array.svg?style=flat)](https://travis-ci.org/jonschlinkert/in-array)\n\n> Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install in-array --save\n```\n\n## Usage\n\n```js\nvar inArray = require('in-array');\nconsole.log(inArray(['a', 'b', 'c'], 'a'));\n//=> true\n\nconsole.log(inArray(null, 'a'));\n//=> false\n\nconsole.log(inArray(null));\n//=> false\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten)\n* [arr-union](https://www.npmjs.com/package/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://www.npmjs.com/package/arr-union) | [homepage](https://github.com/jonschlinkert/arr-union)\n* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object)\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/in-array/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/in-array/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v, on March 27, 2016._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-19T00:57:53.909Z","created":"2014-06-26T10:47:44.236Z","0.1.0":"2014-06-26T10:47:44.236Z","0.1.1":"2016-03-27T14:41:04.593Z","0.1.2":"2016-03-27T14:44:30.543Z"},"homepage":"https://github.com/jonschlinkert/in-array","keywords":["array","check","element","find","index","index-of","of"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/in-array.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/in-array/issues"},"readmeFilename":"README.md","users":{"abrelsfo":true,"rocket0191":true,"aviral23":true},"license":"MIT"}