arr-diff
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Install
Install with npm:
Install with yarn:
Install with bower
Usage
Returns the difference between the first array and additional arrays.
Benchmarks
This library versus array-differ, on April 14, 2017:
About
Related projects
arr-flatten: Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | homepage
array-filter: Array#filter for older browsers. | homepage
array-intersection: Return an array with the unique values present in all given arrays using strict equality… more | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Contributors
Commits | Contributor |
33 | |
2 |
Building docs
(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)
To generate the readme, run the following command:
Running tests
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
Author
Jon Schlinkert
License
Copyright © 2017, Jon Schlinkert. Released under the MIT License.
This file was generated by verb-generate-readme, v0.5.0, on April 14, 2017.
Last updated