\begin{quote}
Convert a camelized string into a lowercased one with a custom separator~\newline
 Example\+: {\ttfamily unicorn\+Rainbow} → {\ttfamily unicorn\+\_\+rainbow} \end{quote}
\hypertarget{md_sfcode_node_modules_decamelize_readme_autotoc_md7869}{}\doxysection{Install}\label{md_sfcode_node_modules_decamelize_readme_autotoc_md7869}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const decamelize = require('decamelize');}
\DoxyCodeLine{}
\DoxyCodeLine{decamelize('unicornRainbow');}
\DoxyCodeLine{//=> 'unicorn\_rainbow'}
\DoxyCodeLine{}
\DoxyCodeLine{decamelize('unicornRainbow', '-\/');}
\DoxyCodeLine{//=> 'unicorn-\/rainbow' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_decamelize_readme_autotoc_md7871}{}\doxysection{API}\label{md_sfcode_node_modules_decamelize_readme_autotoc_md7871}
\hypertarget{md_sfcode_node_modules_decamelize_readme_autotoc_md7872}{}\doxysubsection{decamelize(input, \mbox{[}separator\mbox{]})}\label{md_sfcode_node_modules_decamelize_readme_autotoc_md7872}
\hypertarget{md_sfcode_node_modules_decamelize_readme_autotoc_md7873}{}\doxysubsubsection{input}\label{md_sfcode_node_modules_decamelize_readme_autotoc_md7873}
Type\+: {\ttfamily string}\hypertarget{md_sfcode_node_modules_decamelize_readme_autotoc_md7874}{}\doxysubsubsection{separator}\label{md_sfcode_node_modules_decamelize_readme_autotoc_md7874}
Type\+: {\ttfamily string}~\newline
 Default\+: {\ttfamily \+\_\+}\hypertarget{md_sfcode_node_modules_decamelize_readme_autotoc_md7875}{}\doxysection{Related}\label{md_sfcode_node_modules_decamelize_readme_autotoc_md7875}
See \href{https://github.com/sindresorhus/camelcase}{\texttt{ {\ttfamily camelcase}}} for the inverse.\hypertarget{md_sfcode_node_modules_decamelize_readme_autotoc_md7876}{}\doxysection{License}\label{md_sfcode_node_modules_decamelize_readme_autotoc_md7876}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 