{"_id":"array-intersection","_rev":"439631","name":"array-intersection","description":"Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-08-05T06:30:57.000Z","created":"2014-12-12T12:55:32.135Z","0.1.2":"2015-05-08T00:11:11.764Z","0.1.1":"2014-12-12T14:15:24.700Z","0.1.0":"2014-12-12T12:55:32.135Z"},"users":{"jonschlinkert":true,"wolfram77":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/array-intersection.git"},"versions":{"0.1.2":{"name":"array-intersection","description":"Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/array-intersection","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/array-intersection.git"},"bugs":{"url":"https://github.com/jonschlinkert/array-intersection/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/array-intersection/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"array-every":"^0.1.2","array-slice":"^0.2.3","array-unique":"^0.2.1","filter-array":"^0.2.0","index-of":"^0.1.1"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["arr","array","arrays","diff","difference","intersect","intersection","javascript","node.js","uniq","unique","util","utility","utils"],"gitHead":"f620a186f02aca34470ea6d2e57c809bee46322b","_id":"array-intersection@0.1.2","_shasum":"b14ef021df25e9c9d804116c847cc6a0d67cface","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b14ef021df25e9c9d804116c847cc6a0d67cface","size":2351,"noattachment":false,"key":"/array-intersection/-/array-intersection-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-intersection/download/array-intersection-0.1.2.tgz"},"directories":{},"publish_time":1431043871764,"_cnpm_publish_time":1431043871764,"_hasShrinkwrap":false},"0.1.1":{"name":"array-intersection","description":"Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/array-intersection","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/array-intersection.git"},"bugs":{"url":"https://github.com/jonschlinkert/array-intersection/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/array-intersection/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"array-every":"^0.1.1","array-slice":"^0.2.2","array-unique":"^0.1.1","filter-array":"^0.1.0","index-of":"^0.1.0"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["arr","array","arrays","diff","difference","intersect","intersection","javascript","node.js","uniq","unique","util","utility","utils"],"_id":"array-intersection@0.1.1","_shasum":"12f9d6e5b1229ac1ea6359c32aae637abec0fc24","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"12f9d6e5b1229ac1ea6359c32aae637abec0fc24","size":2600,"noattachment":false,"key":"/array-intersection/-/array-intersection-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-intersection/download/array-intersection-0.1.1.tgz"},"directories":{},"publish_time":1418393724700,"_cnpm_publish_time":1418393724700,"_hasShrinkwrap":false},"0.1.0":{"name":"array-intersection","description":"Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/array-intersection","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/array-intersection.git"},"bugs":{"url":"https://github.com/jonschlinkert/array-intersection/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/array-intersection/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"array-every":"^0.1.1","array-slice":"^0.2.2","array-unique":"^0.1.1","filter-array":"^0.1.0","index-of":"^0.1.0"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["arr","array","arrays","diff","difference","intersect","intersection","javascript","node.js","uniq","unique","util","utility","utils"],"_id":"array-intersection@0.1.0","_shasum":"a9126ca91f62def1dfd3f612c0be4f57c79eac6a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a9126ca91f62def1dfd3f612c0be4f57c79eac6a","size":2595,"noattachment":false,"key":"/array-intersection/-/array-intersection-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-intersection/download/array-intersection-0.1.0.tgz"},"directories":{},"publish_time":1418388932135,"_cnpm_publish_time":1418388932135,"_hasShrinkwrap":false}},"readme":"# array-intersection [![NPM version](https://badge.fury.io/js/array-intersection.svg)](http://badge.fury.io/js/array-intersection)\n\n> Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.\n\nBased on [mout's](http://moutjs.com/) implementation of `intersection`.\n\n## Install\n\n**Install with NPM**\n\nInstall with [npm](https://www.npmjs.com/)\n\n```bash\nnpm i array-intersection --save\n```\n\n**Install with Bower**\n\nInstall with [bower](http://bower.io/)\n\n```bash\nbower install array-intersection --save\n```\n\n## Usage\n\n```js\nvar intersection = require('array-intersection');\n\nintersection(['a', 'a', 'c'])\n//=> ['a', 'c']\n\nintersection(['a', 'b', 'c'], ['b', 'c', 'e'])\n//=> ['b', 'c']\n\nintersection(['a', 'b', 'c'], ['b', 'c', 'e'], ['b', 'c', 'e'])\n//=> ['b', 'c']\n```\n\n## Related projects\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* [arr-union](https://github.com/jonschlinkert/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://github.com/jonschlinkert/arr-union)\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* [index-of](https://github.com/jonschlinkert/index-of): Get the index of the first element in an array that returns truthy for the… [more](https://github.com/jonschlinkert/index-of)\n\n## Running tests\n\nInstall dev dependencies:\n\n```bash\nnpm 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/array-intersection/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 (c) 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 May 07, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/array-intersection","bugs":{"url":"https://github.com/jonschlinkert/array-intersection/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/array-intersection/blob/master/LICENSE"}}