Last updated 3 years ago
Was this helpful?
The method _.flatten exported as a module.
_.flatten
Using npm:
$ {sudo -H} npm i -g npm $ npm i --save lodash.flatten
In Node.js:
var flatten = require('lodash.flatten');
See the or for more details.