{"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":"http://registry-npm.ywwl.com/in-array/download/in-array-0.1.0.tgz","integrity":"sha512-6tPgTPbRpUWb6PR9wY2NbHhCw40ofL5YxC3aEDB666qAUcWNAvETz9dJ9Zb9AU1xXYmar21An2EED++w3+4qwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfvAZ49p0UNJbWcK6lSL16MwA4oYA869of/e06/WzlwAiEA8y1G4q7voJWCGDM4hOhKUpO/MndyQodl/SDGVq+NVHo="}],"size":2710,"noattachment":false,"key":"/in-array/-/in-array-0.1.0.tgz"},"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":1403779664236,"_cnpm_publish_time":1403779664236,"dist-tags":{"latest":"0.1.2"}}