{"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":"http://registry-npm.ywwl.com/in-array/download/in-array-0.1.1.tgz","integrity":"sha512-T1StFxKe6plM5tqW8SfpTCkeyE3lUmLnxj/QN0e31IN5/GWkFZUw6gJ1Dkee3HN1NDz+hxMCsvfhpLWuD/EIPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWNeF1VeLkoovyn3VCxGJUWnqRPOuEZd6LlZ3lRx8XtwIgR3co22MNSHUcZXpct04wFyybBjQ/NvjoessyHWvMV7g="}],"size":2062,"noattachment":false,"key":"/in-array/-/in-array-0.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/in-array-0.1.1.tgz_1459089663703_0.662118025822565"},"directories":{},"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._","publish_time":1459089664593,"_cnpm_publish_time":1459089664593,"dist-tags":{"latest":"0.1.2"}}