lodash.flatten

The lodash method `_.flatten` exported as a module.

Usage no npm install needed!

<script type="module">
  import lodashFlatten from 'https://cdn.skypack.dev/lodash.flatten';
</script>

README

lodash.flatten v4.4.0

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

Installation

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.