codeql-action/node_modules/github-linguist/node_modules/array-union
Andrew Eisenberg c4a84a93d4 Add the github-linguist package
This commit only adds a single package and all of its transitive
dependencies. The github-linguist package will be used for counting
lines of code as a baseline for databases we are analyzing.
2021-04-22 15:59:49 -07:00
..
index.js Add the github-linguist package 2021-04-22 15:59:49 -07:00
license Add the github-linguist package 2021-04-22 15:59:49 -07:00
package.json Add the github-linguist package 2021-04-22 15:59:49 -07:00
readme.md Add the github-linguist package 2021-04-22 15:59:49 -07: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