luckystarry - array-union 1.0.2
> npm install array-union@1.0.2
array-union 
Create an array of unique values, in order, from the input arrays
Install
$ npm install --save array-union
Usage
const arrayUnion = require('array-union');
arrayUnion([1, 1, 2, 3], [2, 3]);
//=> [1, 2, 3]
arrayUnion(['foo', 'foo', 'bar'], ['foo']);
//=> ['foo', 'bar']
License
MIT © Sindre Sorhus
Owners |
|
AuthorsSindre Sorhus (sindresorhus@gmail.com) |
|
LicenseMIT |
|
Keywordsarray, arr, set, uniq, unique, duplicate, remove, union, combine, merge |
|
Info31 total downloads |
|
| 14 downloads for version 1.0.2 | |
| Download (1.44 KB) | |
Dependenciesarray-uniq@^1.0.1 |
|
Dependencies (dev)ava@*, xo@* |
|
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
|
3.0.1 | 1.81 KB | Mon, 22 Mar 2021 14:03:35 GMT | 0 |
|
||
|
|
3.0.0 | 1.81 KB | Mon, 01 Mar 2021 13:42:21 GMT | 0 |
|
||
|
|
2.1.0 | 1.57 KB | Fri, 02 Oct 2020 14:51:34 GMT | 17 |
|
||
|
|
1.0.2 | 1.44 KB | Fri, 05 Mar 2021 13:09:41 GMT | 14 |
|