\begin{quote}
Recursively flatten an array or arrays. \end{quote}
\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3165}{}\doxysection{Install}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3165}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


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

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3166}{}\doxysection{Install}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3166}
Install with \href{https://bower.io/}{\texttt{ bower}}


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ bower install arr-\/flatten -\/-\/save }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{var flatten = require('arr-\/flatten');}
\DoxyCodeLine{}
\DoxyCodeLine{flatten(['a', ['b', ['c']], 'd', ['e']]);}
\DoxyCodeLine{//=> ['a', 'b', 'c', 'd', 'e'] }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3168}{}\doxysection{Why another flatten utility?}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3168}
I wanted the fastest implementation I could find, with implementation choices that should work for 95\% of use cases, but no cruft to cover the other 5\%.\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3169}{}\doxysection{About}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3169}
\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3170}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3170}

\begin{DoxyItemize}
\item \href{https://www.npmjs.com/package/arr-filter}{\texttt{ arr-\/filter}}\+: Faster alternative to javascript\textquotesingle{}s native filter method. $\vert$ \href{https://github.com/jonschlinkert/arr-filter}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/arr-union}{\texttt{ arr-\/union}}\+: Combines a list of arrays, returning a single array with unique values, using strict equality… \href{https://github.com/jonschlinkert/arr-union}{\texttt{ more}} $\vert$ \href{https://github.com/jonschlinkert/arr-union}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/array-each}{\texttt{ array-\/each}}\+: Loop over each item in an array and call the given function on every element. $\vert$ \href{https://github.com/jonschlinkert/array-each}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/array-unique}{\texttt{ array-\/unique}}\+: Remove duplicate values from an array. Fastest ES5 implementation. $\vert$ \href{https://github.com/jonschlinkert/array-unique}{\texttt{ homepage}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3171}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3171}
Pull requests and stars are always welcome. For bugs and feature requests, \href{../../issues/new}{\texttt{ please create an issue}}.\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3172}{}\doxysubsection{Contributors}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3172}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endhead
20   &\href{https://github.com/jonschlinkert}{\texttt{ jonschlinkert}}    \\\cline{1-2}
1   &\href{https://github.com/lukeed}{\texttt{ lukeed}}   \\\cline{1-2}
\end{longtabu}
\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3173}{}\doxysubsection{Building docs}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3173}
\+\_\+(This project\textquotesingle{}s readme.\+md is generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb}}, please don\textquotesingle{}t edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)\+\_\+

To generate the readme, run the following command\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/g verbose/verb\#dev verb-\/generate-\/readme \&\& verb }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3174}{}\doxysubsection{Running tests}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3174}
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install \&\& npm test }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3175}{}\doxysubsection{Author}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3175}
{\bfseries{Jon Schlinkert}}


\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\texttt{ github/jonschlinkert}}
\item \href{https://twitter.com/jonschlinkert}{\texttt{ twitter/jonschlinkert}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_arr_flatten_README_autotoc_md3176}{}\doxysubsection{License}\label{md_sfcode_node_modules_arr_flatten_README_autotoc_md3176}
Copyright © 2017, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}. Released under the \mbox{[}MIT License\mbox{]}(LICENSE).

\DoxyHorRuler{0}


{\itshape This file was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}}, v0.\+6.\+0, on July 05, 2017.} 