šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

array-difference

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-difference

Utility method for finding the difference between arrays

0.0.2
latest
Source
npm
Version published
Weekly downloads
9.2K
8.8%
Maintainers
1
Weekly downloads
Ā 
Created
Source

Array Difference

browser support

Utility method to compute the difference between two arrays. AMD and CommonJS compatible; works in Node.js and the browser.

Installation

$ npm install array-difference

Usage

var array1 = [1, 2, 3];
var array2 = [2, 3, 4];
difference(array1, array2); // yeilds [1, 4]

License

Copyright (c) 2013 Mike Pennisi
Licensed under the MIT Expat license.

Keywords

utility

FAQs

Package last updated on 30 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts