\href{https://npmjs.org/package/array-flatten}{\texttt{ }} \href{https://npmjs.org/package/array-flatten}{\texttt{ }} \href{https://travis-ci.org/blakeembrey/array-flatten}{\texttt{ }} \href{https://coveralls.io/r/blakeembrey/array-flatten?branch=master}{\texttt{ }}

\begin{quote}
Flatten an array of nested arrays into a single flat array. Accepts an optional depth. \end{quote}
\hypertarget{md_sfcode_node_modules_express_node_modules_array_flatten_README_autotoc_md9787}{}\doxysection{Installation}\label{md_sfcode_node_modules_express_node_modules_array_flatten_README_autotoc_md9787}

\begin{DoxyCode}{0}
\DoxyCodeLine{npm install array-\/flatten -\/-\/save }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_express_node_modules_array_flatten_README_autotoc_md9788}{}\doxysection{Usage}\label{md_sfcode_node_modules_express_node_modules_array_flatten_README_autotoc_md9788}

\begin{DoxyCode}{0}
\DoxyCodeLine{var flatten = require('array-\/flatten')}
\DoxyCodeLine{}
\DoxyCodeLine{flatten([1, [2, [3, [4, [5], 6], 7], 8], 9])}
\DoxyCodeLine{//=> [1, 2, 3, 4, 5, 6, 7, 8, 9]}
\DoxyCodeLine{}
\DoxyCodeLine{flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2)}
\DoxyCodeLine{//=> [1, 2, 3, [4, [5], 6], 7, 8, 9]}
\DoxyCodeLine{}
\DoxyCodeLine{(function () \{}
\DoxyCodeLine{  flatten(arguments) //=> [1, 2, 3]}
\DoxyCodeLine{\})(1, [2, 3]) }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_express_node_modules_array_flatten_README_autotoc_md9789}{}\doxysection{License}\label{md_sfcode_node_modules_express_node_modules_array_flatten_README_autotoc_md9789}
MIT 