The lodash method _.union exported as a Node.js module.
_.union
Using npm:
$ {sudo -H} npm i -g npm $ npm i --save lodash.union
In Node.js:
var union = require('lodash.union');
See the documentation or package source for more details.