Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

array-intersection

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-intersection - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

LICENSE

19

package.json
{
"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",
"version": "0.1.2",
"homepage": "https://github.com/jonschlinkert/array-intersection",

@@ -19,4 +19,7 @@ "author": {

"type": "MIT",
"url": "https://github.com/jonschlinkert/array-intersection/blob/master/LICENSE-MIT"
"url": "https://github.com/jonschlinkert/array-intersection/blob/master/LICENSE"
},
"files": [
"index.js"
],
"main": "index.js",

@@ -27,10 +30,10 @@ "engines": {

"scripts": {
"test": "mocha -R spec"
"test": "mocha"
},
"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"
"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"
},

@@ -37,0 +40,0 @@ "devDependencies": {

@@ -5,11 +5,18 @@ # array-intersection [![NPM version](https://badge.fury.io/js/array-intersection.svg)](http://badge.fury.io/js/array-intersection)

Based on [mout's][mout] implementation of `intersection`.
Based on [mout's](http://moutjs.com/) implementation of `intersection`.
## Install with [npm](npmjs.org)
## Install
**Install with NPM**
Install with [npm](https://www.npmjs.com/)
```bash
npm i array-intersection --save
```
### Install with [bower](https://github.com/bower/bower)
**Install with Bower**
Install with [bower](http://bower.io/)
```bash

@@ -34,23 +41,37 @@ bower install array-intersection --save

## Run tests
## Related projects
* [array-every](https://github.com/jonschlinkert/array-every): Returns true if the callback returns truthy for all elements in the given array.
* [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)
* [array-unique](https://github.com/jonschlinkert/array-unique): Return an array free of duplicate values. Fastest ES5 implementation.
* [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)
* [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)
* [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)
## Running tests
Install dev dependencies:
```bash
npm test
npm i -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/array-intersection/issues/new)
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license.
***
_This file was generated by [verb](https://github.com/assemble/verb) on December 12, 2014. To update, run `npm i -g verb && verb`._
[mout]: moutjs.com
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 07, 2015._
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc