\begin{quote}
Convert a dash/dot/underscore/space separated string to camel\+Case or Pascal\+Case\+: {\ttfamily foo-\/bar} → {\ttfamily foo\+Bar} \end{quote}
\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34743}{}\doxysection{$<$/blockquote$>$}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34743}
 {\bfseries{ \href{https://tidelift.com/subscription/pkg/npm-camelcase?utm_source=npm-camelcase&utm_medium=referral&utm_campaign=readme}{\texttt{ Get professional support for \textquotesingle{}camelcase\textquotesingle{} with a Tidelift subscription}} }} ~\newline
 \textsubscript{ Tidelift helps make open source sustainable for maintainers while giving companies~\newline
assurances about security, maintenance, and licensing for their dependencies. } 

\DoxyHorRuler{0}
\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34745}{}\doxysection{Install}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34745}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install camelcase }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const camelCase = require('camelcase');}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase('foo-\/bar');}
\DoxyCodeLine{//=> 'fooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase('foo\_bar');}
\DoxyCodeLine{//=> 'fooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase('Foo-\/Bar');}
\DoxyCodeLine{//=> 'fooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase('Foo-\/Bar', \{pascalCase: true\});}
\DoxyCodeLine{//=> 'FooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase('-\/-\/foo.bar', \{pascalCase: false\});}
\DoxyCodeLine{//=> 'fooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase('foo bar');}
\DoxyCodeLine{//=> 'fooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{console.log(process.argv[3]);}
\DoxyCodeLine{//=> '-\/-\/foo-\/bar'}
\DoxyCodeLine{camelCase(process.argv[3]);}
\DoxyCodeLine{//=> 'fooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase(['foo', 'bar']);}
\DoxyCodeLine{//=> 'fooBar'}
\DoxyCodeLine{}
\DoxyCodeLine{camelCase(['\_\_foo\_\_', '-\/-\/bar'], \{pascalCase: true\});}
\DoxyCodeLine{//=> 'FooBar' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34747}{}\doxysection{API}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34747}
\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34748}{}\doxysubsection{camel\+Case(input, \mbox{[}options\mbox{]})}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34748}
\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34749}{}\doxysubsubsection{input}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34749}
Type\+: {\ttfamily string} {\ttfamily string\mbox{[}\mbox{]}}

String to convert to camel case.\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34750}{}\doxysubsubsection{options}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34750}
Type\+: {\ttfamily Object}\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34751}{}\doxyparagraph{pascal\+Case}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34751}
Type\+: {\ttfamily boolean}~\newline
 Default\+: {\ttfamily false}

Uppercase the first character\+: {\ttfamily foo-\/bar} → {\ttfamily Foo\+Bar}\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34752}{}\doxysection{Security}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34752}
To report a security vulnerability, please use the \href{https://tidelift.com/security}{\texttt{ Tidelift security contact}}. Tidelift will coordinate the fix and disclosure.\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34753}{}\doxysection{Related}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34753}

\begin{DoxyItemize}
\item \href{https://github.com/sindresorhus/decamelize}{\texttt{ decamelize}} -\/ The inverse of this module
\item \href{https://github.com/SamVerschueren/uppercamelcase}{\texttt{ uppercamelcase}} -\/ Like this module, but to Pascal\+Case instead of camel\+Case
\item \href{https://github.com/sindresorhus/titleize}{\texttt{ titleize}} -\/ Capitalize every word in string
\item \href{https://github.com/sindresorhus/humanize-string}{\texttt{ humanize-\/string}} -\/ Convert a camelized/dasherized/underscored string into a humanized one
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34754}{}\doxysection{License}\label{md_sfcode_node_modules_yargs_parser_node_modules_camelcase_readme_autotoc_md34754}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 