\begin{quote}
Check if an URL is absolute \end{quote}
\hypertarget{md_sfcode_node_modules_is_absolute_url_readme_autotoc_md12929}{}\doxysection{Install}\label{md_sfcode_node_modules_is_absolute_url_readme_autotoc_md12929}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save is-\/absolute-\/url }

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

\begin{DoxyCode}{0}
\DoxyCodeLine{var isAbsoluteUrl = require('is-\/absolute-\/url');}
\DoxyCodeLine{}
\DoxyCodeLine{isAbsoluteUrl('http://sindresorhus.com/foo/bar');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{}
\DoxyCodeLine{isAbsoluteUrl('//sindresorhus.com');}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{}
\DoxyCodeLine{isAbsoluteUrl('foo/bar');}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_is_absolute_url_readme_autotoc_md12931}{}\doxysection{Related}\label{md_sfcode_node_modules_is_absolute_url_readme_autotoc_md12931}
See \href{https://github.com/sindresorhus/is-relative-url}{\texttt{ is-\/relative-\/url}} for the inverse.\hypertarget{md_sfcode_node_modules_is_absolute_url_readme_autotoc_md12932}{}\doxysection{License}\label{md_sfcode_node_modules_is_absolute_url_readme_autotoc_md12932}
MIT © \href{http://sindresorhus.com}{\texttt{ Sindre Sorhus}} 