Utility method for finding the difference between arrays
Want to see pretty graphs? Log in now!
npm install array-difference
|100|| downloads in the last day|
|458|| downloads in the last week|
|3 538|| downloads in the last month|
Utility method to compute the difference between two arrays.
$ npm install array-difference
var array1 = [1, 2, 3];
var array2 = [2, 3, 4];
difference(array1, array2); // yeilds [1, 4]
Copyright (c) 2013 Mike Pennisi
Licensed under the MIT Expat license.