Submit
Path:
~
/
/
usr
/
share
/
doc
/
node-array-union
/
File Content:
readme.md
# array-union [](https://travis-ci.org/sindresorhus/array-union) > Create an array of unique values, in order, from the input arrays ## Install ``` $ npm install array-union ``` ## Usage ```js const arrayUnion = require('array-union'); arrayUnion([1, 1, 2, 3], [2, 3]); //=> [1, 2, 3] arrayUnion(['foo', 'foo', 'bar']); //=> ['foo', 'bar'] arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']); //=> ['🐱', '🦄', '🐻', '🌈'] arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']); //=> ['🐱', '🦄', '🐻', '🐶', '🌈'] ``` ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Submit
FILE
FOLDER
Name
Size
Permission
Action
changelog.Debian.gz
815 bytes
0644
copyright
1442 bytes
0644
readme.md
713 bytes
0644
N4ST4R_ID | Naxtarrr