node package manager

lodash.flatten

The lodash method <code>_.flatten</code> exported as a module.

lodash.flatten v4.3.0

The lodash method _.flatten exported as a Node.js module.

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.flatten

In Node.js:

var flatten = require('lodash.flatten');

See the documentation or package source for more details.