Skip to content

jugglinmike/array-difference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Compute the difference between input arrays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published