flatten-array

Flattens nested arrays.

npm install flatten-array
32 downloads in the last day
70 downloads in the last week
118 downloads in the last month

flatten-array

flattens nested arrays.

Install

$ npm install flatten-array

Usage

flatten = require('flatten-array')

flatten([1, 2, [3, [4, 5], 6], 7])
// => [1, 2, 3, 4, 5, 6, 7]
npm loves you