Detects support for Cross-\/\+Origin Resource Sharing\hypertarget{md_sfcode_node_modules_has_cors_Readme_autotoc_md11450}{}\doxysection{Installation}\label{md_sfcode_node_modules_has_cors_Readme_autotoc_md11450}
Install with \href{http://component.io}{\texttt{ component(1)}}\+:

\$ component install component/has-\/cors\hypertarget{md_sfcode_node_modules_has_cors_Readme_autotoc_md11451}{}\doxysection{API}\label{md_sfcode_node_modules_has_cors_Readme_autotoc_md11451}
Exports {\ttfamily true} if the user-\/agent supports CORS, or {\ttfamily false} otherwise.


\begin{DoxyCode}{0}
\DoxyCodeLine{var hasCORS = require('has-\/cors');}
\DoxyCodeLine{console.log(hasCORS);}
\DoxyCodeLine{// true }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_has_cors_Readme_autotoc_md11452}{}\doxysection{License}\label{md_sfcode_node_modules_has_cors_Readme_autotoc_md11452}
MIT 