\begin{quote}
Convert a URL to a valid filename \end{quote}
\hypertarget{md_sfcode_node_modules_filenamify_url_readme_autotoc_md10533}{}\doxysection{Install}\label{md_sfcode_node_modules_filenamify_url_readme_autotoc_md10533}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{var filenamifyUrl = require('filenamify-\/url');}
\DoxyCodeLine{}
\DoxyCodeLine{filenamifyUrl('http://sindresorhus.com/foo?bar=baz');}
\DoxyCodeLine{//=> sindresorhus.com!foo!bar=baz}
\DoxyCodeLine{}
\DoxyCodeLine{filenamifyUrl('http://sindresorhus.com/foo', \{replacement: '🐴'\});}
\DoxyCodeLine{//=> sindresorhus.com🐴foo }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_filenamify_url_readme_autotoc_md10535}{}\doxysection{API}\label{md_sfcode_node_modules_filenamify_url_readme_autotoc_md10535}
See the \href{https://github.com/sindresorhus/filenamify\#api}{\texttt{ {\ttfamily filenamify} API}}.\hypertarget{md_sfcode_node_modules_filenamify_url_readme_autotoc_md10536}{}\doxysection{License}\label{md_sfcode_node_modules_filenamify_url_readme_autotoc_md10536}
MIT © \href{http://sindresorhus.com}{\texttt{ Sindre Sorhus}} 