\begin{quote}
Strip a substring from the start/end of a string \end{quote}
\hypertarget{md_sfcode_node_modules_strip_outer_readme_autotoc_md29145}{}\doxysection{Install}\label{md_sfcode_node_modules_strip_outer_readme_autotoc_md29145}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const stripOuter = require('strip-\/outer');}
\DoxyCodeLine{}
\DoxyCodeLine{stripOuter('foobarfoo', 'foo');}
\DoxyCodeLine{//=> 'bar'}
\DoxyCodeLine{}
\DoxyCodeLine{stripOuter('unicorncake', 'unicorn');}
\DoxyCodeLine{//=> 'cake' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_strip_outer_readme_autotoc_md29147}{}\doxysection{License}\label{md_sfcode_node_modules_strip_outer_readme_autotoc_md29147}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 