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