arr-union
Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.
Install
Install with npm:
Benchmarks
This library is 10-20 times faster and more performant than array-union.
See the benchmarks.
Usage
Returns only unique elements:
Related projects
arr-filter: Faster alternative to javascript's native filter method. | homepage
arr-flatten: Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | homepage
arr-reduce: Fast array reduce that also loops over sparse elements. | homepage
array-unique: Return an array free of duplicate values. Fastest ES5 implementation. | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
Generate readme and API documentation with verb:
Or, if verb is installed globally:
Running tests
Install dev dependencies:
Author
Jon Schlinkert
License
Copyright © 2016 Jon Schlinkert Released under the MIT license.
This file was generated by verb, v0.9.0, on February 23, 2016.
Last updated