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