{"name":"index-of","description":"Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/index-of","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/index-of.git"},"bugs":{"url":"https://github.com/jonschlinkert/index-of/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/index-of/blob/master/LICENSE"}],"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["array","index","index-of","javascript","js","util","utils"],"gitHead":"e20207f77190478497990bad37be227a6f012915","_id":"index-of@0.1.1","_shasum":"d855af36341b284dad61bbd71695c6c694c157ac","_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":"d855af36341b284dad61bbd71695c6c694c157ac","tarball":"http://registry-npm.ywwl.com/index-of/download/index-of-0.1.1.tgz","integrity":"sha512-xjViw4nSlBPC0QZeLRMndEqGQI/xFa64eGbZZV2TEJuFizwEoL3DVVk8BodC58AG6SlixzDkt3Rt3jq3+XGDuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFcRSIhzq2meEijU0q1yUMQiShsIGY5kTWsMN+whFKkAiBJzeFZFXeVeuVd61RR+Mwy6LxZjLVkIsoOkXoqRpdjCQ=="}],"size":2138,"noattachment":false,"key":"/index-of/-/index-of-0.1.1.tgz"},"directories":{},"readme":"# index-of [![NPM version](https://badge.fury.io/js/index-of.svg)](http://badge.fury.io/js/index-of)\n\n> Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i index-of --save\n```\n\nInstall with [bower](http://bower.io/)\n\n```sh\n$ bower install index-of --save\n```\n\n## Usage\n\n```js\nvar indexOf = require('index-of');\n\nindexOf(['a', 'b', 'c'], 'b');\n//=> 1\n\nindexOf(['a', 'b', 'c'], 'd');\n//=> -1\n\nindexOf(['a', 'b', 'c', 'a', 'b', 'c'], 'b', 2);\n//=> 4\n```\n\n## Related projects\n\nOther object utils:\n\n* [array-every](https://github.com/jonschlinkert/array-every): Returns true if the callback returns truthy for all elements in the given array.\n* [array-slice](https://github.com/jonschlinkert/array-slice): Array-slice method. Slices `array` from the `start` index up to, but not including, the `end`… [more](https://github.com/jonschlinkert/array-slice)\n* [array-unique](https://github.com/jonschlinkert/array-unique): Return an array free of duplicate values. Fastest ES5 implementation.\n* [filter-array](https://github.com/jonschlinkert/filter-array): Iterates over the elements in an array, returning an array with only the elements for… [more](https://github.com/jonschlinkert/filter-array)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/index-of/issues/new)\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 © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 22, 2015._","publish_time":1431043347383,"_cnpm_publish_time":1431043347383,"dist-tags":{"latest":"0.2.0"}}