\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 nested arrays. \end{quote}
\hypertarget{md_sfcode_node_modules_array_flatten_README_autotoc_md3188}{}\doxysection{Installation}\label{md_sfcode_node_modules_array_flatten_README_autotoc_md3188}

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

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

\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.depth([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.from(arguments) //=> [1, 2, 3]}
\DoxyCodeLine{\})(1, [2, 3]) }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_array_flatten_README_autotoc_md3190}{}\doxysubsection{Methods}\label{md_sfcode_node_modules_array_flatten_README_autotoc_md3190}

\begin{DoxyItemize}
\item {\bfseries{flatten(array)}} Flatten a nested array structure
\item {\bfseries{flatten.\+from(arrayish)}} Flatten an array-\/like structure (E.\+g. arguments)
\item {\bfseries{flatten.\+depth(array, depth)}} Flatten a nested array structure with a specific depth
\item {\bfseries{flatten.\+from\+Depth(arrayish, depth)}} Flatten an array-\/like structure with a specific depth
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_array_flatten_README_autotoc_md3191}{}\doxysection{License}\label{md_sfcode_node_modules_array_flatten_README_autotoc_md3191}
MIT 