pentest-distro-builder/filesystem/root/.vscode/extensions/ms-vscode.powershell-1.8.4/node_modules/array-union
2018-10-17 15:35:13 -06:00
..
index.js Parrot preseed changes 2018-10-17 15:35:13 -06:00
package.json Parrot preseed changes 2018-10-17 15:35:13 -06:00
readme.md Parrot preseed changes 2018-10-17 15:35:13 -06:00

array-union Build Status

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