\begin{quote}
Prepend {\ttfamily \href{http://}{\texttt{ http\+://}}} to humanized URLs like {\ttfamily todomvc.\+com} and {\ttfamily localhost} \end{quote}
\hypertarget{md_sfcode_node_modules_prepend_http_readme_autotoc_md22259}{}\doxysection{Install}\label{md_sfcode_node_modules_prepend_http_readme_autotoc_md22259}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const prependHttp = require('prepend-\/http');}
\DoxyCodeLine{}
\DoxyCodeLine{prependHttp('todomvc.com');}
\DoxyCodeLine{//=> 'http://todomvc.com'}
\DoxyCodeLine{}
\DoxyCodeLine{prependHttp('localhost');}
\DoxyCodeLine{//=> 'http://localhost'}
\DoxyCodeLine{}
\DoxyCodeLine{prependHttp('http://todomvc.com');}
\DoxyCodeLine{//=> 'http://todomvc.com' }

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