\begin{quote}
Indent each line in a string \end{quote}
\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12709}{}\doxysection{Install}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12709}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install indent-\/string }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const indentString = require('indent-\/string');}
\DoxyCodeLine{}
\DoxyCodeLine{indentString('Unicorns\(\backslash\)nRainbows', 4);}
\DoxyCodeLine{//=> '    Unicorns\(\backslash\)n    Rainbows'}
\DoxyCodeLine{}
\DoxyCodeLine{indentString('Unicorns\(\backslash\)nRainbows', 4, \{indent: '♥'\});}
\DoxyCodeLine{//=> '♥♥♥♥Unicorns\(\backslash\)n♥♥♥♥Rainbows' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12711}{}\doxysection{API}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12711}
\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12712}{}\doxysubsection{indent\+String(string, \mbox{[}count\mbox{]}, \mbox{[}options\mbox{]})}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12712}
\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12713}{}\doxysubsubsection{string}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12713}
Type\+: {\ttfamily string}

The string to indent.\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12714}{}\doxysubsubsection{count}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12714}
Type\+: {\ttfamily number}~\newline
 Default\+: {\ttfamily 1}

How many times you want {\ttfamily options.\+indent} repeated.\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12715}{}\doxysubsubsection{options}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12715}
Type\+: {\ttfamily object}\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12716}{}\doxyparagraph{indent}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12716}
Type\+: {\ttfamily string}~\newline
 Default\+: `' \textquotesingle{}\`{}

The string to use for the indent.\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12717}{}\doxyparagraph{include\+Empty\+Lines}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12717}
Type\+: {\ttfamily boolean}~\newline
 Default\+: {\ttfamily false}

Also indent empty lines.\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12718}{}\doxysection{Related}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12718}

\begin{DoxyItemize}
\item \href{https://github.com/sindresorhus/indent-string-cli}{\texttt{ indent-\/string-\/cli}} -\/ CLI for this module
\item \href{https://github.com/sindresorhus/strip-indent}{\texttt{ strip-\/indent}} -\/ Strip leading whitespace from every line in a string
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_indent_string_readme_autotoc_md12719}{}\doxysection{License}\label{md_sfcode_node_modules_indent_string_readme_autotoc_md12719}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 