schangxiang@126.com
2025-09-09 3d8966ba2c81e7e0365c8b123e861d18ee4f94f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# lodash.union v4.6.0
 
The [lodash](https://lodash.com/) method `_.union` exported as a [Node.js](https://nodejs.org/) module.
 
## Installation
 
Using npm:
```bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.union
```
 
In Node.js:
```js
var union = require('lodash.union');
```
 
See the [documentation](https://lodash.com/docs#union) or [package source](https://github.com/lodash/lodash/blob/4.6.0-npm-packages/lodash.union) for more details.