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